summaryrefslogtreecommitdiffstats
path: root/fs/cachefiles/rdwr.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2015-11-17 10:11:08 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2015-11-17 10:11:08 -0800
commita18ab2f6cb79eeccedea61b8c7bf71d24e087d42 (patch)
tree152c36ff5c2070276ac2f4de326794217b9f10a2 /fs/cachefiles/rdwr.c
parent864f83a1f65bc8614705fc7c053969bb09939215 (diff)
parente62d6e244f759556b569801c38dc4ca27a58bd18 (diff)
downloadtalos-obmc-linux-a18ab2f6cb79eeccedea61b8c7bf71d24e087d42.tar.gz
talos-obmc-linux-a18ab2f6cb79eeccedea61b8c7bf71d24e087d42.zip
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
Pull vfs fixes from Al Viro: "A fs-cache regression fix, and adding a warning about obnoxiou^W moderation of list given in MAINTAINERS" * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs: MAINTAINERS: linux-cachefs@redhat.com is moderated for non-subscribers FS-Cache: Add missing initialization of ret in cachefiles_write_page()
Diffstat (limited to 'fs/cachefiles/rdwr.c')
-rw-r--r--fs/cachefiles/rdwr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cachefiles/rdwr.c b/fs/cachefiles/rdwr.c
index 7a6b02f72787..c0f3da3926a0 100644
--- a/fs/cachefiles/rdwr.c
+++ b/fs/cachefiles/rdwr.c
@@ -879,7 +879,7 @@ int cachefiles_write_page(struct fscache_storage *op, struct page *page)
loff_t pos, eof;
size_t len;
void *data;
- int ret;
+ int ret = -ENOBUFS;
ASSERT(op != NULL);
ASSERT(page != NULL);
OpenPOWER on IntegriCloud