]> git.proxmox.com Git - mirror_ubuntu-artful-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)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Tue, 13 Mar 2018 10:26:30 +0000 (11:26 +0100)
commit419381a514ccd03b42ef09957d9109c06f4c3be9
treefdb01ee2ddbe4441ff82ea36dd46e9adb6067319
parentbb24931fde5da5cd3e59956a60ca73d75c0c6856
nfsd: Make init_open_stateid() a bit more whole

BugLink: http://bugs.launchpad.net/bugs/1745043
commit 8c7245abda877d4689b3371db8ae2a4400d7d9ce upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
fs/nfsd/nfs4state.c