[CIFS] use simple_prepare_write to zero page data
authorNate <nate.diler@gmail.com>
Mon, 16 Jul 2007 15:45:13 +0000 (15:45 +0000)
committerSteve French <sfrench@us.ibm.com>
Mon, 16 Jul 2007 15:45:13 +0000 (15:45 +0000)
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>

No differences found