Commit 5902cc28 authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: New io_misc.c helpers



This pulls the non vfs specific parts of truncate and finsert/fcollapse
out of fs-io.c, and moves them to io_misc.c.

This is prep work for logging these operations, to make them atomic in
the event of a crash.

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent 1809b8cb
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment