projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca9e968
)
f2fs: fix to show tracepoint correctly
author
Chao Yu
<yuchao0@huawei.com>
Mon, 24 Feb 2020 11:20:15 +0000
(19:20 +0800)
committer
Jaegeuk Kim
<jaegeuk@kernel.org>
Thu, 19 Mar 2020 18:41:26 +0000
(11:41 -0700)
Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/file.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/f2fs/file.c
b/fs/f2fs/file.c
index 9abd6cfe3e5ad706f094528a61333b04652212bf..e3c294372db86a20799b47b48801b8da6f006d7c 100644
(file)
--- a/
fs/f2fs/file.c
+++ b/
fs/f2fs/file.c
@@
-3520,8
+3520,10
@@
static ssize_t f2fs_file_write_iter(struct kiocb *iocb, struct iov_iter *from)
goto out;
}
- if (!f2fs_is_compress_backend_ready(inode))
- return -EOPNOTSUPP;
+ if (!f2fs_is_compress_backend_ready(inode)) {
+ ret = -EOPNOTSUPP;
+ goto out;
+ }
if (iocb->ki_flags & IOCB_NOWAIT) {
if (!inode_trylock(inode)) {