]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: assert nowait mode is not used for some btree search functions
authorStefan Roesch <shr@fb.com>
Mon, 12 Sep 2022 19:27:51 +0000 (12:27 -0700)
committerDavid Sterba <dsterba@suse.com>
Thu, 29 Sep 2022 15:08:29 +0000 (17:08 +0200)
commitc922b016f353eafb69997d8c0f06efdf945315ce
tree9e017096daec3b3915d0817fc276158d1b8fcfbf
parent965f47aeb5deddc59a1ace28e99b2a578df57305
btrfs: assert nowait mode is not used for some btree search functions

Adds nowait asserts to btree search functions which are not used by
buffered IO and direct IO paths.

Reviewed-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: Stefan Roesch <shr@fb.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/ctree.c