fs/9p: translate O_TRUNC into OTRUNC
authorJoakim Sindholt <opensource@zhasha.com>
Mon, 18 Mar 2024 11:22:33 +0000 (12:22 +0100)
committerEric Van Hensbergen <ericvh@kernel.org>
Thu, 28 Mar 2024 15:10:28 +0000 (15:10 +0000)
commit87de39e70503e04ddb58965520b15eb9efa7eef3
treea3e238f1679794df4a84c0cb7652c358a15c8a79
parentcd25e15e57e68a6b18dc9323047fe9c68b99290b
fs/9p: translate O_TRUNC into OTRUNC

This one hits both 9P2000 and .u as it appears v9fs has never translated
the O_TRUNC flag.

Signed-off-by: Joakim Sindholt <opensource@zhasha.com>
Signed-off-by: Eric Van Hensbergen <ericvh@kernel.org>
fs/9p/vfs_inode.c