aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/file.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/cifs/file.c')
-rw-r--r--fs/cifs/file.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/cifs/file.c b/fs/cifs/file.c
index 5fedf6cb5a56..f624c4d4a393 100644
--- a/fs/cifs/file.c
+++ b/fs/cifs/file.c
@@ -1684,7 +1684,8 @@ retry:
1684 tofind = min((cifs_sb->wsize / PAGE_CACHE_SIZE) - 1, 1684 tofind = min((cifs_sb->wsize / PAGE_CACHE_SIZE) - 1,
1685 end - index) + 1; 1685 end - index) + 1;
1686 1686
1687 wdata = cifs_writedata_alloc((unsigned int)tofind); 1687 wdata = cifs_writedata_alloc((unsigned int)tofind,
1688 cifs_writev_complete);
1688 if (!wdata) { 1689 if (!wdata) {
1689 rc = -ENOMEM; 1690 rc = -ENOMEM;
1690 break; 1691 break;