bcachefs: fiemap: Fix a lockdep splat
authorKent Overstreet <kent.overstreet@linux.dev>
Tue, 20 Jun 2023 01:12:05 +0000 (21:12 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:10:04 +0000 (17:10 -0400)
commita83e108fc1964b8273c6f51cc62588ee774a5a48
treee7dfa78b72f5f20624a8e350a0e50417799fc338
parenta5b696ee6e10103def82ea9abc18958912e81b00
bcachefs: fiemap: Fix a lockdep splat

As with the previous patch, we generally can't hold btree locks while
copying to userspace, as that may incur a page fault and require
mmap_lock.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/fs.c