summaryrefslogtreecommitdiff
path: root/fs/orangefs/symlink.c
diff options
context:
space:
mode:
authorMartin Brandenburg <martin@omnibond.com>2016-01-30 13:46:54 -0500
committerMike Marshall <hubcap@omnibond.com>2016-02-04 14:12:37 -0500
commit933287da750edefbf0f449750fd67b4fc6c10013 (patch)
treebff11480a25729ac8adaeb25b1eb267a200b8679 /fs/orangefs/symlink.c
parentfe88adc3661ff9eb2a9777277f9c3abf5909449f (diff)
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,
};