From 6a8e8a44eee1317f29fe1ec253303710c5f88867 Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Mon, 23 Aug 2004 07:13:03 -0700 Subject: [PATCH] Use F_SETLK instead of F_SETLK64 in nfs locking code. The code doesn't actually _care_ about 32/64-bit issues, only about F_SETLK vs F_SETLKW, and the F_SETLK64 doesn't exist except as a compatibility thing on 64-bit architectures (since the regular one already _is_ 64-bit, of course). --- fs/nfs/nfs4proc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c index 237623f3485c8..d86d640536a53 100644 --- a/fs/nfs/nfs4proc.c +++ b/fs/nfs/nfs4proc.c @@ -2510,7 +2510,7 @@ static int _nfs4_do_setlk(struct nfs4_state *state, int cmd, struct file_lock *r int nfs4_lock_reclaim(struct nfs4_state *state, struct file_lock *request) { - return _nfs4_do_setlk(state, F_SETLK64, request, 1); + return _nfs4_do_setlk(state, F_SETLK, request, 1); } static int _nfs4_proc_setlk(struct nfs4_state *state, int cmd, struct file_lock *request) -- 2.53.0