summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2010-10-06 18:50:41 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2010-10-06 18:50:41 +0200
commit8fe9793af04e2a63257dd620984ca912a6a40965 (patch)
tree9b03354f19281d179c1761f30043f7d30b6e3419 /fs
parentpowerpc: remove unused variable (diff)
parentfuse: Initialize total_len in fuse_retrieve() (diff)
downloadlinux-8fe9793af04e2a63257dd620984ca912a6a40965.tar.xz
linux-8fe9793af04e2a63257dd620984ca912a6a40965.zip
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse: fuse: Initialize total_len in fuse_retrieve()
Diffstat (limited to 'fs')
-rw-r--r--fs/fuse/dev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/fuse/dev.c b/fs/fuse/dev.c
index d367af1514ef..cde755cca564 100644
--- a/fs/fuse/dev.c
+++ b/fs/fuse/dev.c
@@ -1354,7 +1354,7 @@ static int fuse_retrieve(struct fuse_conn *fc, struct inode *inode,
loff_t file_size;
unsigned int num;
unsigned int offset;
- size_t total_len;
+ size_t total_len = 0;
req = fuse_get_req(fc);
if (IS_ERR(req))