]> git.sesse.net Git - bcachefs-tools-debian/commit
Make fuse read and write work (for aligned writes).
authorJustin Husted <sigstop@gmail.com>
Mon, 7 Oct 2019 23:41:38 +0000 (16:41 -0700)
committerKent Overstreet <kent.overstreet@gmail.com>
Fri, 18 Oct 2019 20:23:39 +0000 (16:23 -0400)
commitf8076573b547f9c5a5dca058c392c83a773a0f30
tree7413872e3f70b9b93ff3711923939ee51c0165fe
parent52771aa7d2f9284e86069ef6274c92b9757c313e
Make fuse read and write work (for aligned writes).

Read: There was a missing refcount on the closure.

Write: Unlike in the Linux kernel, we need to manually update the size
and timestamps, otherwise the operation will appear complete when viewed
via the cached inode, but after unmounting and mounting again the write
will be undone.
cmd_fusemount.c