summaryrefslogtreecommitdiff
path: root/fs/btrfs/tree-log.c
diff options
context:
space:
mode:
authorMiao Xie <miaox@cn.fujitsu.com>2013-05-14 10:20:42 (GMT)
committerJosef Bacik <jbacik@fusionio.com>2013-06-14 15:29:34 (GMT)
commitdc7f370c05dd024697d4d6c68f91fd04fe8fad1e (patch)
tree317b8c9e56af3b1e91bceee326883a63b47ddc6b /fs/btrfs/tree-log.c
parent05323cd13503937e71d5c6ef2debf69e51a9634f (diff)
downloadlinux-fsl-qoriq-dc7f370c05dd024697d4d6c68f91fd04fe8fad1e.tar.xz
Btrfs: move the R/O check out of btrfs_clean_one_deleted_snapshot()
If the fs is remounted to be R/O, it is unnecessary to call btrfs_clean_one_deleted_snapshot(), so move the R/O check out of this function. And besides that, it can make the check logic in the caller more clear. Cc: David Sterba <dsterba@suse.cz> Signed-off-by: Miao Xie <miaox@cn.fujitsu.com> Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Diffstat (limited to 'fs/btrfs/tree-log.c')
0 files changed, 0 insertions, 0 deletions