Files
linux/fs/nfsd
J. Bruce Fields 04931ac044 nfsd4: remove lockowner when removing lock stateid
commit a1b8ff4c97 upstream.

The nfsv4 state code has always assumed a one-to-one correspondance
between lock stateid's and lockowners even if it appears not to in some
places.

We may actually change that, but for now when FREE_STATEID releases a
lock stateid it also needs to release the parent lockowner.

Symptoms were a subsequent LOCK crashing in find_lockowner_str when it
calls same_lockowner_ino on a lockowner that unexpectedly has an empty
so_stateids list.

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-07 13:25:37 -07:00
..
2011-11-07 21:10:47 -05:00
2013-02-26 02:46:08 -05:00
2014-05-06 07:55:29 -07:00
2012-01-03 22:55:10 -05:00
2013-02-26 02:46:08 -05:00
2013-02-26 02:46:08 -05:00