projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f6c0d1a
)
ceph: fix printing wrong return variable in ceph_direct_read_write()
author
Zhi Zhang
<zhang.david2011@gmail.com>
Tue, 8 Nov 2016 13:35:59 +0000
(14:35 +0100)
committer
Ilya Dryomov
<idryomov@gmail.com>
Mon, 12 Dec 2016 22:54:27 +0000
(23:54 +0100)
Fix printing wrong return variable for invalidate_inode_pages2_range in
ceph_direct_read_write().
Signed-off-by: Zhi Zhang <zhang.david2011@gmail.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/ceph/file.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/ceph/file.c
b/fs/ceph/file.c
index f995e3528a33107bfa1caab3b09b2b5f5af8cf32..10cd6acad44c15ec1615d8f22b94baf891eb4617 100644
(file)
--- a/
fs/ceph/file.c
+++ b/
fs/ceph/file.c
@@
-906,7
+906,7
@@
ceph_direct_read_write(struct kiocb *iocb, struct iov_iter *iter,
pos >> PAGE_SHIFT,
(pos + count) >> PAGE_SHIFT);
if (ret2 < 0)
- dout("invalidate_inode_pages2_range returned %d\n", ret);
+ dout("invalidate_inode_pages2_range returned %d\n", ret
2
);
flags = CEPH_OSD_FLAG_ORDERSNAP |
CEPH_OSD_FLAG_ONDISK |