From: Andy Adamson <andros@xxxxxxxxxx> Until a stateid protocol is implemented, remove all checking on file layout data server stateids Signed-off-by: Andy Adamson <andros@xxxxxxxxxx> [remove #ifdef around pnfs_fh_is_ds] Signed-off-by: Benny Halevy <bhalevy@xxxxxxxxxxx> --- fs/nfsd/nfs4state.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c index 1731b35..0cd563e 100644 --- a/fs/nfsd/nfs4state.c +++ b/fs/nfsd/nfs4state.c @@ -2858,6 +2858,9 @@ nfs4_preprocess_stateid_op(struct nfsd4_compound_state *cstate, if (grace_disallows_io(ino)) return nfserr_grace; + if (pnfs_fh_is_ds(¤t_fh->fh_handle)) + return 0; + if (nfsd4_has_session(cstate)) flags |= HAS_SESSION; -- 1.6.5.1 -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html