btrfs: use appropriate replacements for __sb_{start,end}_write calls
authorRakesh Pandit <rakesh@tuxera.com>
Tue, 10 Oct 2017 10:48:05 +0000 (13:48 +0300)
committerDavid Sterba <dsterba@suse.com>
Mon, 30 Oct 2017 11:27:58 +0000 (12:27 +0100)
commita7e3c5f2f7ba3f1f413df5548ed51eb25cd1c74d
treecf147c85155ca9475d16b90a81ce77e3c1225a8e
parenta969f4cc1349fc123eb412332d264de51b05d2ed
btrfs: use appropriate replacements for __sb_{start,end}_write calls

Commit a53f4f8e9c8eb ("btrfs: Don't call btrfs_start_transaction() on
frozen fs to avoid deadlock.") started using internal calls and we
replace them with more suitable ones.

Signed-off-by: Rakesh Pandit <rakesh@tuxera.com>
Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/super.c