aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorJosef Bacik <[email protected]>2022-10-19 14:50:48 +0000
committerDavid Sterba <[email protected]>2022-12-05 17:00:41 +0000
commite118578a8df7941a9bbc568851997852e5bc7338 (patch)
tree09ebed0688defebb18c526618b2f88efd600ec09 /fs/btrfs/dev-replace.c
parentbtrfs: move fs wide helpers out of ctree.h (diff)
downloadkernel-e118578a8df7941a9bbc568851997852e5bc7338.tar.gz
kernel-e118578a8df7941a9bbc568851997852e5bc7338.zip
btrfs: move assert helpers out of ctree.h
These call functions that aren't defined in, or will be moved out of, ctree.h Move them to super.c where the other assert/error message code is defined. Drop the __noreturn attribute for btrfs_assertfail as objtool does not like it and fails with warnings like fs/btrfs/dir-item.o: warning: objtool: .text.unlikely: unexpected end of section fs/btrfs/xattr.o: warning: objtool: btrfs_setxattr() falls through to next function btrfs_setxattr_trans.cold() fs/btrfs/xattr.o: warning: objtool: .text.unlikely: unexpected end of section Reviewed-by: Johannes Thumshirn <[email protected]> Reviewed-by: Anand Jain <[email protected]> Signed-off-by: Josef Bacik <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions