fuse: fix allowing operations
authorMiklos Szeredi <mszeredi@suse.cz>
Thu, 18 Oct 2007 10:06:58 +0000 (03:06 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 18 Oct 2007 21:37:29 +0000 (14:37 -0700)
commite57ac68378a287d6336d187b26971f35f7ee7251
tree12b9ae8cc79af2d0100582e6f933aba0f4619663
parent42a2b6ad71b011144d21d88a124140bb2bf1023f
fuse: fix allowing operations

The following operation didn't check if sending the request was allowed:

  setattr
  listxattr
  statfs

Some other operations don't explicitly do the check, but VFS calls
->permission() which checks this.

Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/fuse/dir.c
fs/fuse/fuse_i.h
fs/fuse/inode.c