diff options
author | Anand Jain <anand.jain@oracle.com> | 2019-02-08 08:39:37 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2019-02-25 14:13:37 +0100 |
commit | 7faad6e25cc250ee58a14ef9f5a9790c9df2582e (patch) | |
tree | a3ef58d23a8a9d0ea263f1242dd3850f798f655d /fs/btrfs | |
parent | btrfs: extent_io: Kill the forward declaration of flush_write_bio (diff) | |
download | linux-7faad6e25cc250ee58a14ef9f5a9790c9df2582e.tar.xz linux-7faad6e25cc250ee58a14ef9f5a9790c9df2582e.zip |
btrfs: fix comment its device list mutex not volume lock
We have killed volume mutex (commit: dccdb07bc996
btrfs: kill btrfs_fs_info::volume_mutex). This a trival one seems to have
escaped.
Signed-off-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs')
-rw-r--r-- | fs/btrfs/volumes.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/btrfs/volumes.c b/fs/btrfs/volumes.c index fe122e6099ae..03f223aa7194 100644 --- a/fs/btrfs/volumes.c +++ b/fs/btrfs/volumes.c @@ -1129,7 +1129,6 @@ static struct btrfs_fs_devices *clone_fs_devices(struct btrfs_fs_devices *orig) mutex_lock(&orig->device_list_mutex); fs_devices->total_devices = orig->total_devices; - /* We have held the volume lock, it is safe to get the devices. */ list_for_each_entry(orig_dev, &orig->devices, dev_list) { struct rcu_string *name; |