Home
last modified time | relevance | path

Searched hist:f799bdb3 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/fs/nfs/
H A Dgetroot.cf799bdb3 Wed Jun 16 08:51:02 CDT 2010 Andy Adamson <andros@netapp.com> 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
f799bdb3 Wed Jun 16 08:51:02 CDT 2010 Andy Adamson <andros@netapp.com> 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