]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
nfsd: Make init_open_stateid() a bit more whole
authorOleg Drokin <green@linuxhacker.ru>
Wed, 15 Jun 2016 03:28:06 +0000 (23:28 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Thu, 16 Jun 2016 02:03:53 +0000 (22:03 -0400)
commit8c7245abda877d4689b3371db8ae2a4400d7d9ce
tree8818d6f70f48db5a18108dd65f15d4a833ca4e54
parent5cc1fb2a093e254b656c64ff24b0b76bed1d34d9
nfsd: Make init_open_stateid() a bit more whole

Move the state selection logic inside from the caller,
always making it return correct stp to use.

Signed-off-by: J . Bruce Fields <bfields@fieldses.org>
Signed-off-by: Oleg Drokin <green@linuxhacker.ru>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4state.c