Skip to content

Commit 0003010

Browse files
YueHaibingTrond Myklebust
authored andcommitted
NFSv4: Make _nfs42_proc_copy_notify() static
Fix sparse warning: fs/nfs/nfs42proc.c:527:5: warning: symbol '_nfs42_proc_copy_notify' was not declared. Should it be static? Reported-by: Hulk Robot <[email protected]> Signed-off-by: YueHaibing <[email protected]> Signed-off-by: Trond Myklebust <[email protected]>
1 parent 913eca1 commit 0003010

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

fs/nfs/nfs42proc.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -524,9 +524,9 @@ static int nfs42_do_offload_cancel_async(struct file *dst,
524524
return status;
525525
}
526526

527-
int _nfs42_proc_copy_notify(struct file *src, struct file *dst,
528-
struct nfs42_copy_notify_args *args,
529-
struct nfs42_copy_notify_res *res)
527+
static int _nfs42_proc_copy_notify(struct file *src, struct file *dst,
528+
struct nfs42_copy_notify_args *args,
529+
struct nfs42_copy_notify_res *res)
530530
{
531531
struct nfs_server *src_server = NFS_SERVER(file_inode(src));
532532
struct rpc_message msg = {

0 commit comments

Comments
 (0)