]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
fuse: clean up execute permission checking
authorMiklos Szeredi <mszeredi@suse.cz>
Wed, 17 Oct 2007 06:31:06 +0000 (23:31 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 17 Oct 2007 15:43:04 +0000 (08:43 -0700)
commite8e961574b5b417d3fc277cbf436081fce4fc2e1
tree28e73ea3666f4e2778d0d52c511be4d8e32b9e26
parentc9c9d7df5f8aed8b738f1ace45700e2001c1faeb
fuse: clean up execute permission checking

Define a new function fuse_refresh_attributes() that conditionally refreshes
the attributes based on the validity timeout.

In fuse_permission() only refresh the attributes for checking the execute bits
if necessary.

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