flexfiles: enforce per-mirror stateid only for v4 DSes
authorTigran Mkrtchyan <tigran.mkrtchyan@desy.de>
Mon, 26 Nov 2018 17:35:14 +0000 (18:35 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Dec 2018 08:28:55 +0000 (09:28 +0100)
commit5d2cc520d1f1ed929ef1f6b7ad57ddde9c42b651
tree84214b7009ac7aaf0808eaec110beede1ac4c93c
parent891e5a89f0faf42766eefd476285d4779fd31a21
flexfiles: enforce per-mirror stateid only for v4 DSes

commit 320f35b7bf8cccf1997ca3126843535e1b95e9c4 upstream.

Since commit bb21ce0ad227 we always enforce per-mirror stateid.
However, this makes sense only for v4+ servers.

Signed-off-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/nfs/flexfilelayout/flexfilelayout.c