summaryrefslogtreecommitdiff
path: root/fs/fuse/dir.c
diff options
context:
space:
mode:
authorAmir Goldstein <amir73il@gmail.com>2024-02-01 14:48:59 +0300
committerMiklos Szeredi <mszeredi@redhat.com>2024-02-23 19:36:32 +0300
commit0c9d708953d02f74cea05a01cf3e2c8f5a9fbaf4 (patch)
tree69eb010ac55940ffc8f89859df7daa06990c4cca /fs/fuse/dir.c
parent9bbb6717dfd286a2861ca33273f4d7c3e65423b0 (diff)
downloadlinux-0c9d708953d02f74cea05a01cf3e2c8f5a9fbaf4.tar.xz
fuse: factor out helper fuse_truncate_update_attr()
fuse_finish_open() is called from fuse_open_common() and from fuse_create_open(). In the latter case, the O_TRUNC flag is always cleared in finish_open()m before calling into fuse_finish_open(). Move the bits that update attribute cache post O_TRUNC open into a helper and call this helper from fuse_open_common() directly. Signed-off-by: Amir Goldstein <amir73il@gmail.com> Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'fs/fuse/dir.c')
0 files changed, 0 insertions, 0 deletions