]> git.baikalelectronics.ru Git - kernel.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)
commited578611e3956da746a42ba898a0a80eb6f61d0d
tree8818d6f70f48db5a18108dd65f15d4a833ca4e54
parentb515f863cae3ca24e9e608ec1ca2f6600e679467
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