fs/9p: Fix inode i_size update in file_write
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Mon, 28 Feb 2011 11:34:04 +0000 (17:04 +0530)
committerEric Van Hensbergen <ericvh@gmail.com>
Tue, 15 Mar 2011 14:57:40 +0000 (09:57 -0500)
commitfa6ea16160c72c448e2728dab4b6b0a133fdfc98
tree51c9ad37c30aeb02bc34a67ca499a0492b06959e
parent6b365604ca8c1b67f0d5a816cf5acf2dc3edc229
fs/9p: Fix inode i_size update in file_write

Only update inode i_size when we write towards end of file.

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Venkateswararao Jujjuri <jvrao@linux.vnet.ibm.com>
Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
fs/9p/vfs_file.c