aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-trace.h
diff options
context:
space:
mode:
authorAmir Goldstein <[email protected]>2024-02-01 13:48:59 +0200
committerMiklos Szeredi <[email protected]>2024-02-23 17:36:32 +0100
commit0c9d708953d02f74cea05a01cf3e2c8f5a9fbaf4 (patch)
tree69eb010ac55940ffc8f89859df7daa06990c4cca /drivers/usb/cdns3/cdns3-trace.h
parent9bbb6717dfd286a2861ca33273f4d7c3e65423b0 (diff)
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 <[email protected]> Signed-off-by: Miklos Szeredi <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-trace.h')
0 files changed, 0 insertions, 0 deletions