[PATCH 12/15] fs: ntfs: file: Provide missing descriptions for 'start' and 'end'
From: Lee Jones
Date: Thu May 20 2021 - 08:42:00 EST
Fixes the following W=1 kernel build warning(s):
fs/ntfs/file.c:1969: warning: Function parameter or member 'start' not described in 'ntfs_file_fsync'
fs/ntfs/file.c:1969: warning: Function parameter or member 'end' not described in 'ntfs_file_fsync'
Cc: Anton Altaparmakov <anton@xxxxxxxxxx>
Cc: linux-ntfs-dev@xxxxxxxxxxxxxxxxxxxxx
Signed-off-by: Lee Jones <lee.jones@xxxxxxxxxx>
---
fs/ntfs/file.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/fs/ntfs/file.c b/fs/ntfs/file.c
index e5aab265dff19..1f3d8804324c1 100644
--- a/fs/ntfs/file.c
+++ b/fs/ntfs/file.c
@@ -1943,6 +1943,8 @@ static ssize_t ntfs_file_write_iter(struct kiocb *iocb, struct iov_iter *from)
/**
* ntfs_file_fsync - sync a file to disk
* @filp: file to be synced
+ * @start: offset in bytes where the range starts
+ * @end: offset in bytes where the range ends (inclusive)
* @datasync: if non-zero only flush user data and not metadata
*
* Data integrity sync of a file to disk. Used for fsync, fdatasync, and msync
--
2.31.1