[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240625110029.606032-2-mjguzik@gmail.com>
Date: Tue, 25 Jun 2024 13:00:27 +0200
From: Mateusz Guzik <mjguzik@...il.com>
To: brauner@...nel.org
Cc: viro@...iv.linux.org.uk,
jack@...e.cz,
linux-kernel@...r.kernel.org,
linux-fsdevel@...r.kernel.org,
io-uring@...r.kernel.org,
axboe@...nel.dk,
torvalds@...ux-foundation.org,
xry111@...111.site,
loongarch@...ts.linux.dev,
Mateusz Guzik <mjguzik@...il.com>
Subject: [PATCH 1/2] vfs: add CLASS fd_raw
Signed-off-by: Mateusz Guzik <mjguzik@...il.com>
---
include/linux/file.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/linux/file.h b/include/linux/file.h
index 169692cb1906..45d0f4800abd 100644
--- a/include/linux/file.h
+++ b/include/linux/file.h
@@ -84,6 +84,7 @@ static inline void fdput_pos(struct fd f)
}
DEFINE_CLASS(fd, struct fd, fdput(_T), fdget(fd), int fd)
+DEFINE_CLASS(fd_raw, struct fd, fdput(_T), fdget_raw(fd), int fd)
extern int f_dupfd(unsigned int from, struct file *file, unsigned flags);
extern int replace_fd(unsigned fd, struct file *file, unsigned flags);
--
2.43.0
Powered by blists - more mailing lists