fs: direct-io: Fixed a Documentation build warn
PATCH 1/1 fs: direct-io: Fixed a Documentation build warn
This patch fixes the warning: Excess function parameter 'offset' description in 'dio_complete'.
Removes offset from the list of arguments in the function header as it not an argument to the function.
Signed-off-by Madhuparna Bhowmik <madhuparnabhowmik04 at gmail.com>
--- fs/direct-io.c | 1 - 1 file changed, 1 deletion(-)
fs/direct-io.c +0 -1
@@ -243,7 +243,6 @@ void dio_warn_stale_pagecache(struct file *filp)/** * dio_complete() - called when all DIO BIO I/O has been completed -* @offset: the byte offset in the file of the completed operation * * This drops i_dio_count, lets interested parties know that a DIO operation * has completed, and calculates the resulting return code for the operation.
Signature · 1 line
2.17.1