commit | f10fc50f1adaf40fdd5da6dd154ecb464b468e2f | [log] [tgz] |
---|---|---|
author | Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> | Mon Feb 28 17:04:10 2011 +0530 |
committer | Eric Van Hensbergen <ericvh@gmail.com> | Tue Mar 15 09:57:42 2011 -0500 |
tree | 254b9ea1aebb08b1bae37557aa7f7ea39b78d05c | |
parent | c06c066a083aa0a336d6b2b1ed502dd0b8488ac7 [diff] |
fs/9p: call vmtruncate before setattr 9p opeation We need to call vmtruncate before 9p setattr operation, otherwise we could write back some dirty pages between setattr with ATTR_SIZE and vmtruncate causing some truncated pages to be written back to server 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>