aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs
diff options
context:
space:
mode:
authorSteve French <sfrench@us.ibm.com>2005-06-13 14:25:38 -0400
committerSteve French <sfrench@us.ibm.com>2005-06-13 14:25:38 -0400
commit5893a65711164e42fea4a58bb8adf47c2fac8a4b (patch)
tree31b5f20e314aae236b06998de3fffeb729581af5 /fs/cifs
parentd6e04ae64c6b06ef76a5d4fb49106b393b7fa50a (diff)
parentc0105338eb4e61e537ca34ae06921177cb6efcf0 (diff)
Merge with rsync://rsync.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6.git
Diffstat (limited to 'fs/cifs')
-rw-r--r--fs/cifs/CHANGES3
-rw-r--r--fs/cifs/file.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/fs/cifs/CHANGES b/fs/cifs/CHANGES
index 95483baab706..dab4774ee7bb 100644
--- a/fs/cifs/CHANGES
+++ b/fs/cifs/CHANGES
@@ -6,7 +6,8 @@ kills the cifsd thread (NB: killing the cifs kernel threads is not
6recommended, unmount and rmmod cifs will kill them when they are 6recommended, unmount and rmmod cifs will kill them when they are
7no longer needed). Fix readdir to ASCII servers (ie older servers 7no longer needed). Fix readdir to ASCII servers (ie older servers
8which do not support Unicode) and also require asterik. 8which do not support Unicode) and also require asterik.
9 9Fix out of memory case in which data could be written one page
10off in the page cache.
10 11
11Version 1.33 12Version 1.33
12------------ 13------------
diff --git a/fs/cifs/file.c b/fs/cifs/file.c
index ca74c1151be9..0cec0e76d85e 100644
--- a/fs/cifs/file.c
+++ b/fs/cifs/file.c
@@ -1365,6 +1365,8 @@ static void cifs_copy_cache_pages(struct address_space *mapping,
1365 GFP_KERNEL)) { 1365 GFP_KERNEL)) {
1366 page_cache_release(page); 1366 page_cache_release(page);
1367 cFYI(1, ("Add page cache failed")); 1367 cFYI(1, ("Add page cache failed"));
1368 data += PAGE_CACHE_SIZE;
1369 bytes_read -= PAGE_CACHE_SIZE;
1368 continue; 1370 continue;
1369 } 1371 }
1370 1372