summaryrefslogtreecommitdiff
path: root/arch/mips/include/asm/sgi/mc.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2025-07-07 16:19:10 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2025-07-07 16:43:42 -0400
commit739dfd6b62770ec5a4cd68bb7387887ada83d053 (patch)
tree0e45ae8c468bab9c188f47ef10cd3dd855f42fbb /arch/mips/include/asm/sgi/mc.h
parentef9ff78079c2a63377417b57dd6c45c2b9a7d977 (diff)
bcachefs: Fix ERO when scrub is called on invalid devicebcachefs-testing
When a device index is passed in from userspace we should be using bch2_dev_tryget_noerror(), not bch2_dev_tryget(), which is used when an invalid device index indicates an actual filesystem error. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'arch/mips/include/asm/sgi/mc.h')
0 files changed, 0 insertions, 0 deletions