summaryrefslogtreecommitdiffstats
path: root/fs/cifs/inode.c
diff options
context:
space:
mode:
authorNate2007-07-16 17:45:13 +0200
committerSteve French2007-07-16 17:45:13 +0200
commit8803863a9051582081fb2bcca3a6dc8fddaed93c (patch)
treed3d8162fd0a77c6e3891edbfc89f365b428b03f9 /fs/cifs/inode.c
parent[CIFS] Fix build break - inet.h not included when experimental ifdef off (diff)
downloadkernel-qcow2-linux-8803863a9051582081fb2bcca3a6dc8fddaed93c.tar.gz
kernel-qcow2-linux-8803863a9051582081fb2bcca3a6dc8fddaed93c.tar.xz
kernel-qcow2-linux-8803863a9051582081fb2bcca3a6dc8fddaed93c.zip
[CIFS] use simple_prepare_write to zero page data
It's common for file systems to need to zero data on either side of a write, if a page is not Uptodate during prepare_write. It just so happens that simple_prepare_write() in libfs.c does exactly that, so we can avoid duplication and just call that function to zero page data. Signed-off-by: Nate Diller <nate.diller@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/inode.c')
0 files changed, 0 insertions, 0 deletions