]> 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)
commite13fa6b0b30ab8da57cd9246a48768c0e98a2398
tree8818d6f70f48db5a18108dd65f15d4a833ca4e54
parent7be1ea6e32f4ec0c733086a7cfa96fe453107c2d
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