diff options
author | Jaegeuk Kim <[email protected]> | 2013-03-13 17:45:15 +0900 |
---|---|---|
committer | Jaegeuk Kim <[email protected]> | 2013-03-18 21:00:09 +0900 |
commit | 12faafe45477244bc32e2c58f74f7305cc7e84fa (patch) | |
tree | 6c21e51f3e1471e3182482e7d060be3cb79ecbc6 /fs/jbd/commit.c | |
parent | 12fc760fd632a96f49e96f519c4aed4eb279bb61 (diff) |
f2fs: fix to unlock node page when it was truncated
If the node page was truncated, its block address became zero.
This means that we don't need to write the node page, but have to unlock
NODE_WRITE, decrease the number of dirty node pages, and then unlock_page
before returning the f2fs_write_node_page with zero.
Reviewed-by: Namjae Jeon <[email protected]>
Signed-off-by: Jaegeuk Kim <[email protected]>
Diffstat (limited to 'fs/jbd/commit.c')
0 files changed, 0 insertions, 0 deletions