NLM/lockd: Ensure we don't corrupt fl->fl_flags in nlmclnt_unlock()
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 1 Apr 2008 22:57:06 +0000 (18:57 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Sat, 19 Apr 2008 20:53:30 +0000 (16:53 -0400)
commit4a9af59fee0701d9db99bc148d87b8852d6d6dd8
tree5300720549fa750dc81b39a2ae5238840906a8ca
parent1e799b673c6b82b336ab13c48b5651d511ca3000
NLM/lockd: Ensure we don't corrupt fl->fl_flags in nlmclnt_unlock()

Also fix up nlmclnt_lock() so that it doesn't pass modified versions of
fl->fl_flags to nlmclnt_cancel() and other helpers.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/lockd/clntproc.c