diff options
| author | Miao Xie <[email protected]> | 2013-05-14 10:20:42 +0000 |
|---|---|---|
| committer | Josef Bacik <[email protected]> | 2013-06-14 15:29:34 +0000 |
| commit | dc7f370c05dd024697d4d6c68f91fd04fe8fad1e (patch) | |
| tree | 317b8c9e56af3b1e91bceee326883a63b47ddc6b /fs/btrfs/dev-replace.c | |
| parent | Btrfs: make the cleaner complete early when the fs is going to be umounted (diff) | |
| download | kernel-dc7f370c05dd024697d4d6c68f91fd04fe8fad1e.tar.gz kernel-dc7f370c05dd024697d4d6c68f91fd04fe8fad1e.zip | |
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 <[email protected]>
Signed-off-by: Miao Xie <[email protected]>
Signed-off-by: Josef Bacik <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions
