OSDN Git Service

btrfs: remove the incorrect comment on RO fs when btrfs_run_delalloc_range() fails
authorQu Wenruo <wqu@suse.com>
Thu, 9 May 2019 07:31:50 +0000 (15:31 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 1 Jul 2019 11:34:59 +0000 (13:34 +0200)
commit1200b51f57dca934cfd78969f460d636ec0fb838
tree2a5f2ebf300c2e17629ce63b31fd98f39632ccd6
parent480b9b4d847fe18f4a559f5cac718d9b2cbcdcaf
btrfs: remove the incorrect comment on RO fs when btrfs_run_delalloc_range() fails

At the context of btrfs_run_delalloc_range(), we haven't started/joined
a transaction, thus even something went wrong, we can't and won't abort
transaction, thus no way to make the fs RO.

Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/extent_io.c