summaryrefslogtreecommitdiff
path: root/fs/file.c
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2023-08-18 21:08:24 +0100
committerChristian Brauner <brauner@kernel.org>2023-08-19 12:12:12 +0200
commit35931eb3945b8d38c31f8e956aee3cf31c52121b (patch)
treeb63a6f1a4750f4542363699ba9d3e71ce22bc9f7 /fs/file.c
parentec05b12634ad007f7a37161ecb7cd243c3b1970c (diff)
downloadlwn-35931eb3945b8d38c31f8e956aee3cf31c52121b.tar.gz
lwn-35931eb3945b8d38c31f8e956aee3cf31c52121b.zip
fs: Fix kernel-doc warnings
These have a variety of causes and a corresponding variety of solutions. Signed-off-by: "Matthew Wilcox (Oracle)" <willy@infradead.org> Message-Id: <20230818200824.2720007-1-willy@infradead.org> Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'fs/file.c')
-rw-r--r--fs/file.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/file.c b/fs/file.c
index 7bb2cddbd82b..1ddf645ca691 100644
--- a/fs/file.c
+++ b/fs/file.c
@@ -668,7 +668,7 @@ EXPORT_SYMBOL(close_fd); /* for ksys_close() */
/**
* last_fd - return last valid index into fd table
- * @cur_fds: files struct
+ * @fdt: File descriptor table.
*
* Context: Either rcu read lock or files_lock must be held.
*
@@ -724,6 +724,7 @@ static inline void __range_close(struct files_struct *files, unsigned int fd,
*
* @fd: starting file descriptor to close
* @max_fd: last file descriptor to close
+ * @flags: CLOSE_RANGE flags.
*
* This closes a range of file descriptors. All file descriptors
* from @fd up to and including @max_fd are closed.