diff options
author | Martin Brandenburg <martin@omnibond.com> | 2016-01-30 13:46:54 -0500 |
---|---|---|
committer | Mike Marshall <hubcap@omnibond.com> | 2016-02-04 14:12:37 -0500 |
commit | 933287da750edefbf0f449750fd67b4fc6c10013 (patch) | |
tree | bff11480a25729ac8adaeb25b1eb267a200b8679 /fs/orangefs/orangefs-kernel.h | |
parent | fe88adc3661ff9eb2a9777277f9c3abf5909449f (diff) | |
download | linux-933287da750edefbf0f449750fd67b4fc6c10013.tar.bz2 |
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/orangefs-kernel.h')
-rw-r--r-- | fs/orangefs/orangefs-kernel.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/orangefs/orangefs-kernel.h b/fs/orangefs/orangefs-kernel.h index d4db96223dac..a8cde9019efe 100644 --- a/fs/orangefs/orangefs-kernel.h +++ b/fs/orangefs/orangefs-kernel.h @@ -493,6 +493,8 @@ int orangefs_getattr(struct vfsmount *mnt, struct dentry *dentry, struct kstat *kstat); +int orangefs_permission(struct inode *inode, int mask); + /* * defined in xattr.c */ |