fuse: clean up setting i_size in write
authorMiklos Szeredi <mszeredi@suse.cz>
Wed, 30 Apr 2008 07:54:41 +0000 (00:54 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 30 Apr 2008 15:29:50 +0000 (08:29 -0700)
commit854512ec358f291bcadd7daea10d6bf3704933de
treeeb587b95df2200c9765e1feb8cdf16ef3fbb9983
parent3be5a52b30aa5cf9d795b7634f728f612197b1c4
fuse: clean up setting i_size in write

Extract common code for setting i_size in write functions into a common
helper.

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/file.c