summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/namei.c
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk@kernel.org>2016-06-07 23:34:22 +0200
committerJaegeuk Kim <jaegeuk@kernel.org>2016-06-13 20:55:25 +0200
commitc92737ceecaf24643cc58182afdf9b13074cfb0d (patch)
tree064b882effce88b850413ebf231aeb24ea4c2f8f /fs/f2fs/namei.c
parentf2fs: introduce mode=lfs mount option (diff)
downloadlinux-c92737ceecaf24643cc58182afdf9b13074cfb0d.tar.xz
linux-c92737ceecaf24643cc58182afdf9b13074cfb0d.zip
f2fs: fix deadlock in add_link failure
mkdir sync_dirty_inode - init_inode_metadata - lock_page(node) - make_empty_dir - filemap_fdatawrite() - do_writepages - lock_page(data) - write_page(data) - lock_page(node) - f2fs_init_acl - error - truncate_inode_pages - lock_page(data) So, we don't need to truncate data pages in this error case, which will be done by f2fs_evict_inode. Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/namei.c')
0 files changed, 0 insertions, 0 deletions