Btrfs: skip search tree for REG files
authorLiu Bo <bo.li.liu@oracle.com>
Thu, 27 Feb 2014 09:29:01 +0000 (17:29 +0800)
committerJosef Bacik <jbacik@fb.com>
Mon, 10 Mar 2014 19:17:01 +0000 (15:17 -0400)
It is really unnecessary to search tree again for @gen, @mode and @rdev
in the case of REG inodes' creation, as we've got btrfs_inode_item in sctx,
and @gen, @mode and @rdev can easily be fetched.

Signed-off-by: Liu Bo <bo.li.liu@oracle.com>
Signed-off-by: Josef Bacik <jbacik@fb.com>
fs/btrfs/send.c

diff --cc fs/btrfs/send.c
Simple merge