projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d8fe4f0
)
f2fs: fix to update variable correctly when skip a unmapped block
author
Fan Li
<fanofcode.li@samsung.com>
Mon, 14 Dec 2015 07:26:04 +0000
(15:26 +0800)
committer
Jaegeuk Kim
<jaegeuk@kernel.org>
Mon, 14 Dec 2015 18:17:54 +0000
(10:17 -0800)
map.m_len should be reduced after skip a block
Signed-off-by: Fan li <fanofcode.li@samsung.com>
Reviewed-by: Chao Yu <chao2.yu@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/file.c
patch
|
blob
|
history
diff --git
a/fs/f2fs/file.c
b/fs/f2fs/file.c
index 5fac4f259965167f1344ec2ba4e2ca8f1c556630..9949d0f332c2afc0327ed2615315cf7b95059642 100644
(file)
--- a/
fs/f2fs/file.c
+++ b/
fs/f2fs/file.c
@@
-1759,6
+1759,7
@@
do_map:
if (!(map.m_flags & F2FS_MAP_FLAGS)) {
map.m_lblk++;
+ map.m_len--;
continue;
}