btrfs: switch to discard_new_inode()
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 16 May 2018 16:20:05 +0000 (12:20 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 3 Aug 2018 20:03:29 +0000 (16:03 -0400)
commit32955c5422a8a5460bbefe2a6fc51eadcafff4c9
treea5a2cceece416ac14340c6796b891c1ed649245f
parentc2b6d621c4ffe9936adf7a55c8b1c769672c306f
btrfs: switch to discard_new_inode()

Make sure that no partially set up inodes can be returned by
open-by-handle.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/btrfs/inode.c