projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b03ebd9
)
btrfs: no need to check for btrfs_fs_devices::seeding
author
Anand Jain
<
[email protected]
>
Thu, 18 Jan 2018 14:00:33 +0000
(22:00 +0800)
committer
David Sterba
<
[email protected]
>
Mon, 22 Jan 2018 19:25:44 +0000
(20:25 +0100)
There is no need to check for btrfs_fs_devices::seeding when we
have checked for btrfs_fs_devices::opened, because we can't sprout
without its seed FS being opened.
Signed-off-by: Anand Jain <
[email protected]
>
Reviewed-by: Josef Bacik <
[email protected]
>
Signed-off-by: David Sterba <
[email protected]
>
fs/btrfs/volumes.c
patch
|
blob
|
history
diff --git
a/fs/btrfs/volumes.c
b/fs/btrfs/volumes.c
index 5750cd9df417ea2ae744c41c696aad24e61325ca..011bb9b116e658896c6b029b8798086a44c15e98 100644
(file)
--- a/
fs/btrfs/volumes.c
+++ b/
fs/btrfs/volumes.c
@@
-618,8
+618,6
@@
static void btrfs_free_stale_device(struct btrfs_device *cur_dev)
if (fs_devs->opened)
continue;
- if (fs_devs->seeding)
- continue;
list_for_each_entry(dev, &fs_devs->devices, dev_list) {