On 01/03/2023 14:49, Luca Vizzarro wrote:
The definition in the implementation of nfs4_proc_setlease was originally changed without updating the definition in the header file.
Fixes: ("fs: Pass argument to fcntl_setlease as int") Signed-off-by: Luca Vizzarro Luca.Vizzarro@arm.com
Sending in a fix for a bug that was merged and was undetected by the build script and the CI. Credit goes to Beata for detecting this.
Thanks both! That looks straightforward enough, applied on next.
Kevin
Luca
fs/nfs/nfs4_fs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/nfs/nfs4_fs.h b/fs/nfs/nfs4_fs.h index cfef738d765e..0f9bb0f2f6c5 100644 --- a/fs/nfs/nfs4_fs.h +++ b/fs/nfs/nfs4_fs.h @@ -326,7 +326,7 @@ extern int update_open_stateid(struct nfs4_state *state, const nfs4_stateid *open_stateid, const nfs4_stateid *deleg_stateid, fmode_t fmode); -extern int nfs4_proc_setlease(struct file *file, long arg, +extern int nfs4_proc_setlease(struct file *file, int arg, struct file_lock **lease, void **priv); extern int nfs4_proc_get_lease_time(struct nfs_client *clp, struct nfs_fsinfo *fsinfo);