Revision c812012f9ca7cf89c9e1a1cd512e6c3b5be04b85 authored by Jeff Layton on 25 November 2015, 18:50:11 UTC, committed by Trond Myklebust on 25 November 2015, 20:31:49 UTC
If we pass in an empty nfs_fattr struct to nfs_update_inode, it will
(correctly) not update any of the attributes, but it then clears the
NFS_INO_INVALID_ATTR flag, which indicates that the attributes are
up to date. Don't clear the flag if the fattr struct has no valid
attrs to apply.

Reviewed-by: Steve French <steve.french@primarydata.com>
Signed-off-by: Jeff Layton <jeff.layton@primarydata.com>
Cc: stable@vger.kernel.org
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
1 parent 616c319
History
File Mode Size
Kconfig -rw-r--r-- 9.6 KB
Makefile -rw-r--r-- 702 bytes
acorn.c -rw-r--r-- 12.3 KB
acorn.h -rw-r--r-- 488 bytes
aix.c -rw-r--r-- 6.2 KB
aix.h -rw-r--r-- 59 bytes
amiga.c -rw-r--r-- 3.7 KB
amiga.h -rw-r--r-- 89 bytes
atari.c -rw-r--r-- 3.9 KB
atari.h -rw-r--r-- 1.0 KB
check.c -rw-r--r-- 4.2 KB
check.h -rw-r--r-- 1.1 KB
cmdline.c -rw-r--r-- 2.2 KB
cmdline.h -rw-r--r-- 57 bytes
efi.c -rw-r--r-- 22.7 KB
efi.h -rw-r--r-- 4.4 KB
ibm.c -rw-r--r-- 9.3 KB
ibm.h -rw-r--r-- 47 bytes
karma.c -rw-r--r-- 1.1 KB
karma.h -rw-r--r-- 124 bytes
ldm.c -rw-r--r-- 44.1 KB
ldm.h -rw-r--r-- 5.4 KB
mac.c -rw-r--r-- 3.4 KB
mac.h -rw-r--r-- 1.2 KB
msdos.c -rw-r--r-- 15.8 KB
msdos.h -rw-r--r-- 124 bytes
osf.c -rw-r--r-- 1.9 KB
osf.h -rw-r--r-- 123 bytes
sgi.c -rw-r--r-- 2.2 KB
sgi.h -rw-r--r-- 128 bytes
sun.c -rw-r--r-- 3.7 KB
sun.h -rw-r--r-- 169 bytes
sysv68.c -rw-r--r-- 1.9 KB
sysv68.h -rw-r--r-- 62 bytes
ultrix.c -rw-r--r-- 1.2 KB
ultrix.h -rw-r--r-- 90 bytes

back to top