summaryrefslogtreecommitdiff
path: root/fs/nfs/nfs4session.c
diff options
context:
space:
mode:
authorAnna Schumaker <Anna.Schumaker@Netapp.com>2016-10-26 22:54:31 +0300
committerAnna Schumaker <Anna.Schumaker@Netapp.com>2016-11-08 00:11:30 +0300
commit192747166a468dd8fb5d47ad9d5048c138c1fc25 (patch)
treef082f03274d1704bfc2b70eccbc69634e14d38eb /fs/nfs/nfs4session.c
parent8ef3295530ddc969ea9a3f307d94df97fcbc0629 (diff)
downloadlinux-192747166a468dd8fb5d47ad9d5048c138c1fc25.tar.xz
NFS: Don't print a pNFS error if we aren't using pNFS
We used to check for a valid layout type id before verifying pNFS flags as an indicator for if we are using pNFS. This changed in 3132e49ece with the introduction of multiple layout types, since now we are passing an array of ids instead of just one. Since then, users have been seeing a KERN_ERR printk show up whenever mounting NFS v4 without pNFS. This patch restores the original behavior of exiting set_pnfs_layoutdriver() early if we aren't using pNFS. Fixes 3132e49ece ("pnfs: track multiple layout types in fsinfo structure") Reviewed-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'fs/nfs/nfs4session.c')
0 files changed, 0 insertions, 0 deletions