]> git.itanic.dy.fi Git - linux-stable/commitdiff
ntfs: dir.c: fix kernel-doc function parameter warnings
authorRandy Dunlap <rdunlap@infradead.org>
Tue, 19 Dec 2023 04:54:14 +0000 (20:54 -0800)
committerChristian Brauner <brauner@kernel.org>
Thu, 21 Dec 2023 12:17:54 +0000 (13:17 +0100)
Correct the kernel-doc function parameter warnings for function
ntfs_dir_fsync() to prevent the following kernel-doc warnings:

dir.c:1489: warning: Function parameter or member 'start' not described in 'ntfs_dir_fsync'
dir.c:1489: warning: Function parameter or member 'end' not described in 'ntfs_dir_fsync'
dir.c:1489: warning: Excess function parameter 'dentry' description in 'ntfs_dir_fsync'

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Link: https://lore.kernel.org/r/20231219045414.24670-1-rdunlap@infradead.org
Reviewed-by: Namjae Jeon <linkinjeon@kernel.org>
Cc: Anton Altaparmakov <anton@tuxera.com>
Cc: Namjae Jeon <linkinjeon@kernel.org>
Cc: <linux-ntfs-dev@lists.sourceforge.net>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/ntfs/dir.c

index 4596c90e7b7cf096e0c9b590dfc4ef59eb3fe9b8..629723a8d7125f12a04fc8c1a3dbf6afc9dc286f 100644 (file)
@@ -1462,7 +1462,8 @@ static int ntfs_dir_open(struct inode *vi, struct file *filp)
 /**
  * ntfs_dir_fsync - sync a directory to disk
  * @filp:      directory to be synced
- * @dentry:    dentry describing the directory to sync
+ * @start:     offset in bytes of the beginning of data range to sync
+ * @end:       offset in bytes of the end of data range (inclusive)
  * @datasync:  if non-zero only flush user data and not metadata
  *
  * Data integrity sync of a directory to disk.  Used for fsync, fdatasync, and