summaryrefslogtreecommitdiffstats
path: root/fs/orangefs/symlink.c
diff options
context:
space:
mode:
authorMartin Brandenburg <martin@omnibond.com>2016-01-30 19:46:54 +0100
committerMike Marshall <hubcap@omnibond.com>2016-02-04 20:12:37 +0100
commit933287da750edefbf0f449750fd67b4fc6c10013 (patch)
treebff11480a25729ac8adaeb25b1eb267a200b8679 /fs/orangefs/symlink.c
parentorangefs: Only compare attributes specified in orangefs_inode_getattr. (diff)
downloadlinux-933287da750edefbf0f449750fd67b4fc6c10013.tar.xz
linux-933287da750edefbf0f449750fd67b4fc6c10013.zip
orangefs: Implement inode_operations->permission().
Thus d_revalidate is not obliged to check on as much, which will eventually lead the way to hammering the filesystem servers much less. Signed-off-by: Martin Brandenburg <martin@omnibond.com> Signed-off-by: Mike Marshall <hubcap@omnibond.com>
Diffstat (limited to 'fs/orangefs/symlink.c')
-rw-r--r--fs/orangefs/symlink.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/orangefs/symlink.c b/fs/orangefs/symlink.c
index 1b3ae63463dc..2b8541a7fc43 100644
--- a/fs/orangefs/symlink.c
+++ b/fs/orangefs/symlink.c
@@ -28,4 +28,5 @@ struct inode_operations orangefs_symlink_inode_operations = {
.getattr = orangefs_getattr,
.listxattr = orangefs_listxattr,
.setxattr = generic_setxattr,
+ .permission = orangefs_permission,
};