diff options
author | Stefan Behrens <[email protected]> | 2013-08-23 10:34:43 +0200 |
---|---|---|
committer | Chris Mason <[email protected]> | 2013-09-01 08:16:29 -0400 |
commit | 23fa76b0ba78b7d84708d9ee683587d8a5bbceef (patch) | |
tree | 10f09a05563e978d57228943f83fd1cf1c21d388 /kernel/rtmutex-debug.c | |
parent | 48475471728f060bfd2e686f592ef208d3ba8b7d (diff) |
Btrf: cleanup: don't check for root_refs == 0 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 three more places.
Signed-off-by: Stefan Behrens <[email protected]>
Signed-off-by: Josef Bacik <[email protected]>
Signed-off-by: Chris Mason <[email protected]>
Diffstat (limited to 'kernel/rtmutex-debug.c')
0 files changed, 0 insertions, 0 deletions