diff options
author | 2010-06-16 09:51:02 -0400 | |
---|---|---|
committer | 2010-06-22 13:17:43 -0400 | |
commit | f799bdb355edaabd81b778087613409a8932fbe9 (patch) | |
tree | e2d27df6984a11b3710fbc5ceb2dd874c375b3bb /drivers/scsi/mpt2sas/mpt2sas_ctl.c | |
parent | Linux 2.6.35-rc3 (diff) | |
download | wireguard-linux-f799bdb355edaabd81b778087613409a8932fbe9.tar.xz wireguard-linux-f799bdb355edaabd81b778087613409a8932fbe9.zip |
nfs4 use mandatory attribute file type in nfs4_get_root
S_ISDIR(fsinfo.fattr->mode) checks the file type rather than the mode bits,
so we should be checking for the NFS_ATTR_FATTR_TYPE fattr property.
Signed-off-by: Andy Adamson <andros@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Cc: stable@kernel.org
Diffstat (limited to 'drivers/scsi/mpt2sas/mpt2sas_ctl.c')
0 files changed, 0 insertions, 0 deletions