bcachefs: More errcode cleanup
authorKent Overstreet <kent.overstreet@linux.dev>
Sun, 20 Nov 2022 03:39:08 +0000 (22:39 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:48 +0000 (17:09 -0400)
commit78c0b75c34209c471616566b3978eac4c1c53e99
treee5c64b4d5d643e6170f2acfff1f279333235b398
parent5f659376fc1b9ad23b00a35242179b8961e0bc2d
bcachefs: More errcode cleanup

We shouldn't be overloading standard error codes now that we have
provisions for bcachefs-specific errorcodes: this patch converts super.c
and super-io.c to per error site errcodes, with a bit of cleanup.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
19 files changed:
fs/bcachefs/alloc_background.c
fs/bcachefs/bkey_methods.c
fs/bcachefs/dirent.c
fs/bcachefs/disk_groups.c
fs/bcachefs/ec.c
fs/bcachefs/errcode.h
fs/bcachefs/extents.c
fs/bcachefs/fs.c
fs/bcachefs/inode.c
fs/bcachefs/journal_sb.c
fs/bcachefs/journal_seq_blacklist.c
fs/bcachefs/lru.c
fs/bcachefs/quota.c
fs/bcachefs/reflink.c
fs/bcachefs/replicas.c
fs/bcachefs/subvolume.c
fs/bcachefs/super-io.c
fs/bcachefs/super.c
fs/bcachefs/xattr.c