diff options
author | Liu Bo <bo.li.liu@oracle.com> | 2017-10-10 15:51:02 -0600 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-01-22 16:08:11 +0100 |
commit | 47dba17171a76ea2a2a7153f9aa9f28579bfd350 (patch) | |
tree | f5e875b56a2453a1cba4734da97cd23f690485a0 /fs/proc/interrupts.c | |
parent | 8577787fac828a9873064ccec986f4be6156615d (diff) | |
download | linux-47dba17171a76ea2a2a7153f9aa9f28579bfd350.tar.gz linux-47dba17171a76ea2a2a7153f9aa9f28579bfd350.tar.xz |
Btrfs: remove rcu_barrier in btrfs_close_devices
It was introduced because btrfs used to do blkdev_put in a deferred
work, now that btrfs has blkdev_put in place, this rcu_barrier can be
removed.
modprobe -r btrfs will do btrfs_cleanup_fs_uuids(), where it cleanup
every %fs_devices on the list, but when we do btrfs_close_devices(), we
have replaced the devices on the list with dummy ones which only have
the same name and uuid, so modprobe -r btrfs will free those instead of
what we were using, this change won't cause a problem for it.
Signed-off-by: Liu Bo <bo.li.liu@oracle.com>
Reviewed-by: Anand Jain <anand.jain@oracle.com>
Reviewed-by: David Sterba <dsterba@suse.com>
[ copied 2nd paragraph from mailinglist discussion ]
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/proc/interrupts.c')
0 files changed, 0 insertions, 0 deletions