Skip to content
Commit 72350ee0 authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: Kill snapshot arg to fsck_write_inode()



It was initially believed that it would be better to be explicit about
the snapshot we're updating when writing inodes in fsck; however, it
turns out that passing around the snapshot separately is more error
prone and we're usually updating the inode in the same snapshow we read
it from.

This is different from normal filesystem paths, where we do the update
in the snapshot of the subvolume we're in.

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