]> www.infradead.org Git - users/jedix/linux-maple.git/commit
fs: add f_pipe
authorChristian Brauner <brauner@kernel.org>
Fri, 30 Aug 2024 13:04:59 +0000 (15:04 +0200)
committerChristian Brauner <brauner@kernel.org>
Thu, 12 Sep 2024 09:58:45 +0000 (11:58 +0200)
commit5e9b50dea970ae6d3e1309d4254157099734a2af
tree89f9d1704d813436a4125ebc615a4dd0278578a6
parent1146e5a69efca76501378f748388fd7742ad09cf
fs: add f_pipe

Only regular files with FMODE_ATOMIC_POS and directories need
f_pos_lock. Place a new f_pipe member in a union with f_pos_lock
that they can use and make them stop abusing f_version in follow-up
patches.

Link: https://lore.kernel.org/r/20240830-vfs-file-f_version-v1-18-6d3e4816aa7b@kernel.org
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/file_table.c
include/linux/fs.h