• Kent Overstreet's avatar
    bcachefs: Kill snapshot arg to fsck_write_inode() · 72350ee0
    Kent Overstreet authored
    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>
    72350ee0
subvolume.c 18.9 KB