]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: use a temporary variable for fs_devices in btrfs_init_new_device
authorAnand Jain <anand.jain@oracle.com>
Tue, 3 Jul 2018 05:14:50 +0000 (13:14 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 6 Aug 2018 11:12:42 +0000 (13:12 +0200)
commitff810b68dcae0ea1ece57fc98585dc0a9666aaad
treec5dd3bcca028bcd05a33136740af60a67276c7be
parent23d0ba8bb839ef46dc4bd1e5c30be158da176490
btrfs: use a temporary variable for fs_devices in btrfs_init_new_device

There are many instances of the %fs_info->fs_devices pointer
dereferences, use a temporary variable instead.

Signed-off-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/volumes.c