Whamcloud - gitweb
fuse2fs: implement O_TRUNC correctly
authorDarrick J. Wong <djwong@kernel.org>
Wed, 21 May 2025 22:38:18 +0000 (15:38 -0700)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 23 May 2025 13:39:41 +0000 (09:39 -0400)
commitb022aca269a5552395393989a4be530cbf7b5e70
treefdbc95b4a99f63aa010e8188940af56436936e9d
parentcb115a8761ab0bc35be41e60c00e2765e1db1bfb
fuse2fs: implement O_TRUNC correctly

Actually truncate files on open with O_TRUNC.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Link: https://lore.kernel.org/r/174786677783.1383760.5736479713431403960.stgit@frogsfrogsfrogs
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
misc/fuse2fs.c