projects
/
GitHub
/
LineageOS
/
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:
f49f412
)
Revert "f2fs: return wrong error number on f2fs_quota_write"
author
Jaegeuk Kim
<jaegeuk@kernel.org>
Thu, 19 Oct 2017 19:07:11 +0000
(12:07 -0700)
committer
Jaegeuk Kim
<jaegeuk@kernel.org>
Tue, 19 Dec 2017 03:28:18 +0000
(19:28 -0800)
This reverts commit
4f31d26b0c17f2aae6a6afeb823a87e20671ab4b
.
It turns out that we need to report error number if nothing was written.
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/super.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/f2fs/super.c
b/fs/f2fs/super.c
index c32a1e1db240ac5e89a64e56f459456d863232a8..491dce39d47a9eb38880cb9e348bb4e1cd3ea6a0 100644
(file)
--- a/
fs/f2fs/super.c
+++ b/
fs/f2fs/super.c
@@
-1396,7
+1396,7
@@
retry:
}
if (len == towrite)
- return
0
;
+ return
err
;
inode->i_version++;
inode->i_mtime = inode->i_ctime = current_time(inode);
f2fs_mark_inode_dirty_sync(inode, false);