]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] NLM: Ensure we do not Oops in the case of an unlock
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 14 Mar 2006 05:20:49 +0000 (21:20 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 14 Mar 2006 15:57:18 +0000 (07:57 -0800)
commit30f4e20a0d3492668f5065af582b5af2d1e4256b
tree518b47635c091814b35caf128f7be361c595aab1
parente6d83d55698b73b4d5d55d3d7715a4c26030d577
[PATCH] NLM: Ensure we do not Oops in the case of an unlock

In theory, NLM specs assure us that the server will only reply LCK_GRANTED or
LCK_DENIED_GRACE_PERIOD to our NLM_UNLOCK request.

In practice, we should not assume this to be the case, and the code will
currently Oops if we do.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/lockd/clntproc.c