aboutsummaryrefslogtreecommitdiffstats
path: root/fs/binfmt_flat.c
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2010-02-03 08:27:35 -0500
committerTrond Myklebust <Trond.Myklebust@netapp.com>2010-02-03 08:27:35 -0500
commit9b4b351346b41d923d69adec865814fdaac4dba9 (patch)
treeb35229c40aa9e3b3ac4806f64b2fc941974cf270 /fs/binfmt_flat.c
parentNFS: Fix a umount race (diff)
downloadlinux-dev-9b4b351346b41d923d69adec865814fdaac4dba9.tar.xz
linux-dev-9b4b351346b41d923d69adec865814fdaac4dba9.zip
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>
Diffstat (limited to 'fs/binfmt_flat.c')
0 files changed, 0 insertions, 0 deletions