f2fs: avoid deadlock caused by lock order of page and lock_op
authorJaegeuk Kim <jaegeuk@kernel.org>
Thu, 22 Jun 2017 00:52:39 +0000 (17:52 -0700)
committerJaegeuk Kim <jaegeuk@kernel.org>
Fri, 7 Jul 2017 18:07:59 +0000 (11:07 -0700)
commitd29460e5cfc9bc2241886f9f60d0650ad745cf10
tree1b1a8470851e636810cee8d6188f7e65ea10ac9a
parentd1aa245354ae4605d1183f542ed8d45811c439f6
f2fs: avoid deadlock caused by lock order of page and lock_op

- punch_hole
 - fill_zero
  - f2fs_lock_op
  - get_new_data_page
   - lock_page

- f2fs_write_data_pages
 - lock_page
 - do_write_data_page
  - f2fs_lock_op

Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/data.c