https://github.com/torvalds/linux
Revision 9b4b351346b41d923d69adec865814fdaac4dba9 authored by Trond Myklebust on 03 February 2010, 13:27:35 UTC, committed by Trond Myklebust on 03 February 2010, 13:27:35 UTC
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>
1 parent 387c149
History
Tip revision: 9b4b351346b41d923d69adec865814fdaac4dba9 authored by Trond Myklebust on 03 February 2010, 13:27:35 UTC
NFS: Don't clobber the attribute type in nfs_update_inode()
Tip revision: 9b4b351
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 843 bytes
.mailmap -rw-r--r-- 3.9 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 91.8 KB
Kbuild -rw-r--r-- 2.4 KB
MAINTAINERS -rw-r--r-- 160.2 KB
Makefile -rw-r--r-- 52.0 KB
README -rw-r--r-- 17.0 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top