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)
commit644d1940ab0f20d1ba13295827a86a8a0c8583f3
tree94023f72680d776d79b5ff6d596a42ec2883605f
parent7b2b70851f862b68714f357d2926adbb6c574fdd
Btrfs: skip search tree for REG files

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