[PATCH] netfs: change kernel-doc function parameter to match code
Randy Dunlap <[email protected]>
| Newsgroups | dev.linux.lists.netfs,org.kernel.vger.linux-fsdevel |
|---|---|
| Message-ID | <[email protected]> |
The parameter @ctx was changed to @ictx in function netfs_resize_file().
Update the kernel-doc to eliminate 2 warnings.
WARNING: include/linux/netfs.h:764 function parameter 'ictx' not described in 'netfs_resize_file'
WARNING: include/linux/netfs.h:764 Excess function parameter 'ctx' description in 'netfs_resize_file'
Fixes: 2c8f4742bb76 ("netfs: Fix potential for tearing in ->remote_i_size and ->zero_point")
Signed-off-by: Randy Dunlap <[email protected]>
---
Cc: David Howells <[email protected]>
Cc: [email protected]
include/linux/netfs.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- linux-next-20260518.orig/include/linux/netfs.h
+++ linux-next-20260518/include/linux/netfs.h
@@ -753,7 +753,7 @@ static inline void netfs_inode_init(stru
/**
* netfs_resize_file - Note that a file got resized
- * @ctx: The netfs inode being resized
+ * @ictx: The netfs inode being resized
* @new_i_size: The new file size
* @changed_on_server: The change was applied to the server
*