From: Trond Myklebust Date: Wed, 3 Feb 2010 13:27:35 +0000 (-0500) Subject: NFS: Don't clobber the attribute type in nfs_update_inode() X-Git-Tag: v2.6.33-rc7~12^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9b4b351346b41d923d69adec865814fdaac4dba9;p=pandora-kernel.git NFS: Don't clobber the attribute type in nfs_update_inode() If the NFS_ATTR_FATTR_TYPE field isn't set in fattr->valid, then we should not set the S_IFMT part of inode->i_mode. Reported-by: Al Viro Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed