commit | 5cc1fb2a093e254b656c64ff24b0b76bed1d34d9 | [log] [tgz] |
---|---|---|
author | Oleg Drokin <green@linuxhacker.ru> | Tue Jun 14 23:28:05 2016 -0400 |
committer | J. Bruce Fields <bfields@redhat.com> | Wed Jun 15 22:03:41 2016 -0400 |
tree | f37829299f97a6ab668ec0ec77bf00af101ae5be | |
parent | feb9dad5209280085d5b0c094fa67e7a8d75c81a [diff] |
nfsd: Extend the mutex holding region around in nfsd4_process_open2() To avoid racing entry into nfs4_get_vfs_file(). Make init_open_stateid() return with locked stateid to be unlocked by the caller. Signed-off-by: Oleg Drokin <green@linuxhacker.ru> Cc: stable@vger.kernel.org Signed-off-by: J. Bruce Fields <bfields@redhat.com>