commit | 644d1940ab0f20d1ba13295827a86a8a0c8583f3 | [log] [tgz] |
---|---|---|
author | Liu Bo <bo.li.liu@oracle.com> | Thu Feb 27 17:29:01 2014 +0800 |
committer | Josef Bacik <jbacik@fb.com> | Mon Mar 10 15:17:01 2014 -0400 |
tree | 94023f72680d776d79b5ff6d596a42ec2883605f | |
parent | 7b2b70851f862b68714f357d2926adbb6c574fdd [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>