diff options
author | Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> | 2011-02-28 17:04:10 +0530 |
---|---|---|
committer | Eric Van Hensbergen <ericvh@gmail.com> | 2011-03-15 09:57:42 -0500 |
commit | f10fc50f1adaf40fdd5da6dd154ecb464b468e2f (patch) | |
tree | 254b9ea1aebb08b1bae37557aa7f7ea39b78d05c /usr | |
parent | c06c066a083aa0a336d6b2b1ed502dd0b8488ac7 (diff) | |
download | op-kernel-dev-f10fc50f1adaf40fdd5da6dd154ecb464b468e2f.zip op-kernel-dev-f10fc50f1adaf40fdd5da6dd154ecb464b468e2f.tar.gz |
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>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions