commit | 170d3aca6806a4fe6b7ff0c84edcfe1406be6db9 | [log] [tgz] |
---|---|---|
author | Jaegeuk Kim <jaegeuk@kernel.org> | Mon May 02 12:34:48 2016 -0700 |
committer | chrmhoffmann <chrmhoffmann@gmail.com> | Mon Nov 13 22:14:39 2017 +0100 |
tree | e842b867875d9a24a79852e3567b6fc9c0e1ea33 | |
parent | 98ffffd90fb19adcbcd48e4d8c477305d8203349 [diff] |
f2fs: revisit error handling flows This patch fixes a couple of bugs regarding to orphan inodes when handling errors. This tries to - call alloc_nid_done with add_orphan_inode in handle_failed_inode - let truncate blocks in f2fs_evict_inode - not make a bad inode due to i_mode change Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>