]> git.baikalelectronics.ru Git - 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)
commit6df955135ca13c72e1a1152500942b23cb8c572d
tree28e73ea3666f4e2778d0d52c511be4d8e32b9e26
parent06a8c4942d88cb06c42046ae340bb7c146e18316
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