]> git.karo-electronics.de Git - karo-tx-linux.git/commit
NFS/pnfs: handle bad delegation stateids in nfs4_layoutget_handle_exception
authorTrond Myklebust <trond.myklebust@primarydata.com>
Fri, 17 Jun 2016 20:48:21 +0000 (16:48 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Fri, 24 Jun 2016 16:01:00 +0000 (12:01 -0400)
commitdd1beb3d16f6a10683b84b89a4644065c43910f3
tree21b31ac3f2ee2cda70d9766e90b6c37f309b3c34
parente5241e43883058b61a955b4bbd677fe4ffd3ae4e
NFS/pnfs: handle bad delegation stateids in nfs4_layoutget_handle_exception

We must call nfs4_handle_exception() on BAD_STATEID errors. The only
exception is if the stateid argument turns out to be a layout stateid
that is declared invalid.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Reviewed-by: Jeff Layton <jlayton@poochiereds.net>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/nfs4proc.c