summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/tree-log.c
diff options
context:
space:
mode:
authorLiu Bo <bo.li.liu@oracle.com>2013-05-22 14:06:51 +0200
committerJosef Bacik <jbacik@fusionio.com>2013-06-14 17:29:57 +0200
commitfdd99c729433ed6ab8d02aa4760c6708a6c5de2a (patch)
treef6bf5f43bafee895411faee747b1c12d376329e3 /fs/btrfs/tree-log.c
parentBtrfs: return error code in btrfs_check_trunc_cache_free_space() (diff)
downloadlinux-fdd99c729433ed6ab8d02aa4760c6708a6c5de2a.tar.xz
linux-fdd99c729433ed6ab8d02aa4760c6708a6c5de2a.zip
Btrfs: dont do log_removal in insert_new_root
As for splitting a leaf, root is just the leaf, and tree mod log does not apply on leaf, so in this case, we don't do log_removal. As for splitting a node, the old root is kept as a normal node and we have nicely put records in tree mod log for moving keys and items, so in this case we don't do that either. As above, insert_new_root can get rid of log_removal. Signed-off-by: Liu Bo <bo.li.liu@oracle.com> Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Diffstat (limited to 'fs/btrfs/tree-log.c')
0 files changed, 0 insertions, 0 deletions