commit | 9b4b351346b41d923d69adec865814fdaac4dba9 | [log] [tgz] |
---|---|---|
author | Trond Myklebust <Trond.Myklebust@netapp.com> | Wed Feb 03 08:27:35 2010 -0500 |
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | Wed Feb 03 08:27:35 2010 -0500 |
tree | b35229c40aa9e3b3ac4806f64b2fc941974cf270 | |
parent | 387c149b54b4321cbc790dadbd4f8eedb5a90468 [diff] |
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 <viro@zeniv.linux.org.uk> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>