diff options
Diffstat (limited to 'fs/cifs/file.c')
-rw-r--r-- | fs/cifs/file.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/cifs/file.c b/fs/cifs/file.c index 11806c879c47..585a62aebd59 100644 --- a/fs/cifs/file.c +++ b/fs/cifs/file.c | |||
@@ -1153,6 +1153,9 @@ retry: | |||
1153 | rc, bytes_written)); | 1153 | rc, bytes_written)); |
1154 | set_bit(AS_EIO, &mapping->flags); | 1154 | set_bit(AS_EIO, &mapping->flags); |
1155 | SetPageError(page); | 1155 | SetPageError(page); |
1156 | } else { | ||
1157 | cifs_stats_bytes_written(cifs_sb->tcon, | ||
1158 | bytes_written); | ||
1156 | } | 1159 | } |
1157 | for (i = 0; i < n_iov; i++) { | 1160 | for (i = 0; i < n_iov; i++) { |
1158 | page = pvec.pages[first + i]; | 1161 | page = pvec.pages[first + i]; |