fuse: cleanup: add fuse_get_attr_version()
authorMiklos Szeredi <mszeredi@suse.cz>
Thu, 29 Nov 2007 00:21:59 +0000 (16:21 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 29 Nov 2007 17:24:54 +0000 (09:24 -0800)
commit7dca9fd39f7d4605ac178a67bb1772381056917d
tree8a2f49e872a900819c7067bbe8ed118f88241f07
parentbcb4be809d2a804ff040d95db4a664113833e702
fuse: cleanup: add fuse_get_attr_version()

Extract repeated code into helper function, as suggested by Akpm.

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