aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorStefan Behrens <[email protected]>2013-05-13 13:53:35 +0000
committerJosef Bacik <[email protected]>2013-06-14 15:29:30 +0000
commit3c64a1aba7cfcb04f79e76f859b3d66660275d59 (patch)
treeb84ec1bcce88d60d5c3fd7a68d4dbcbdf985a6cb /fs/btrfs/dev-replace.c
parentBtrfs: cleanup, btrfs_read_fs_root_no_name() doesn't return NULL (diff)
downloadkernel-3c64a1aba7cfcb04f79e76f859b3d66660275d59.tar.gz
kernel-3c64a1aba7cfcb04f79e76f859b3d66660275d59.zip
Btrfs: cleanup: don't check the same thing twice
btrfs_read_fs_root_no_name() already checks if btrfs_root_refs() is zero and returns ENOENT in this case. There is no need to do it again in six places. Signed-off-by: Stefan Behrens <[email protected]> Signed-off-by: Josef Bacik <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions