diff options
author | Miklos Szeredi <miklos@szeredi.hu> | 2005-11-07 00:59:50 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-07 07:53:42 -0800 |
commit | 31d40d74b402a6fa18a006fb3745f64609f35b77 (patch) | |
tree | ee8c61e814fcae687e3ba3f8ed4828d6d34f8ff2 /fs/fuse/fuse_i.h | |
parent | 5b62073d502a88fedc5c369f8a004bda7c9d1999 (diff) | |
download | blackbird-op-linux-31d40d74b402a6fa18a006fb3745f64609f35b77.tar.gz blackbird-op-linux-31d40d74b402a6fa18a006fb3745f64609f35b77.zip |
[PATCH] FUSE: add access call
Add a new access call, which will only be called if ->permission is invoked
from sys_access(). In all other cases permission checking is delayed until
the actual filesystem operation.
Signed-off-by: Miklos Szeredi <miklos@szeredi.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/fuse/fuse_i.h')
-rw-r--r-- | fs/fuse/fuse_i.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/fuse/fuse_i.h b/fs/fuse/fuse_i.h index 5cb456f572c1..c4e8c3b47982 100644 --- a/fs/fuse/fuse_i.h +++ b/fs/fuse/fuse_i.h @@ -266,6 +266,9 @@ struct fuse_conn { /** Is removexattr not implemented by fs? */ unsigned no_removexattr : 1; + /** Is access not implemented by fs? */ + unsigned no_access : 1; + /** Backing dev info */ struct backing_dev_info bdi; }; |