From: Andy Adamson Date: Wed, 16 Jun 2010 13:51:02 +0000 (-0400) Subject: nfs4 use mandatory attribute file type in nfs4_get_root X-Git-Tag: v2.6.35-rc4~55^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f799bdb355edaabd81b778087613409a8932fbe9;p=pandora-kernel.git 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 Signed-off-by: Trond Myklebust Cc: stable@kernel.org --- Reading git-diff-tree failed