diff options
author | Miklos Szeredi <miklos@szeredi.hu> | 2005-09-09 16:10:31 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-09 17:03:45 -0400 |
commit | 1e9a4ed9396e9c31139721b639550ffb1df17065 (patch) | |
tree | 213566cf1294f5dd8f6ff62ceb3557b5f5b6c59c /fs/fuse/file.c | |
parent | b6aeadeda22a9aa322fdfcd3f4c69ccf0da5cbdd (diff) |
[PATCH] FUSE - mount options
This patch adds miscellaneous mount options to the FUSE filesystem.
The following mount options are added:
o default_permissions: check permissions with generic_permission()
o allow_other: allow other users to access files
o allow_root: allow root to access files
o kernel_cache: don't invalidate page cache on open
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/file.c')
-rw-r--r-- | fs/fuse/file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/fuse/file.c b/fs/fuse/file.c index de8c9c702461..96ea302db184 100644 --- a/fs/fuse/file.c +++ b/fs/fuse/file.c | |||
@@ -70,7 +70,7 @@ static int fuse_open(struct inode *inode, struct file *file) | |||
70 | else | 70 | else |
71 | request_send(fc, req); | 71 | request_send(fc, req); |
72 | err = req->out.h.error; | 72 | err = req->out.h.error; |
73 | if (!err) | 73 | if (!err && !(fc->flags & FUSE_KERNEL_CACHE)) |
74 | invalidate_inode_pages(inode->i_mapping); | 74 | invalidate_inode_pages(inode->i_mapping); |
75 | if (err) { | 75 | if (err) { |
76 | fuse_request_free(ff->release_req); | 76 | fuse_request_free(ff->release_req); |