summaryrefslogtreecommitdiff
path: root/fs/btrfs/volumes.c
diff options
context:
space:
mode:
authorLiu Bo <bo.li.liu@oracle.com>2014-02-27 17:29:01 +0800
committerJosef Bacik <jbacik@fb.com>2014-03-10 15:17:01 -0400
commit644d1940ab0f20d1ba13295827a86a8a0c8583f3 (patch)
tree94023f72680d776d79b5ff6d596a42ec2883605f /fs/btrfs/volumes.c
parent7b2b70851f862b68714f357d2926adbb6c574fdd (diff)
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>
Diffstat (limited to 'fs/btrfs/volumes.c')
0 files changed, 0 insertions, 0 deletions