android_kernel_google_msm/fs/nfs
Jeff Layton 5cd25ba84b nfs: if we have no valid attrs, then don't declare the attribute cache valid
commit c812012f9ca7cf89c9e1a1cd512e6c3b5be04b85 upstream.

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>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: Zefan Li <lizefan@huawei.com>
2016-10-26 23:15:33 +08:00
..
blocklayout nfs: fix do_div() warning by instead using sector_div() 2013-12-20 07:34:20 -08:00
objlayout umount oops when remove blocklayoutdriver first 2013-02-28 06:59:02 -08:00
cache_lib.c
cache_lib.h
callback.c nfs: fix high load average due to callback thread sleeping 2015-09-18 09:20:32 +08:00
callback.h
callback_proc.c
callback_xdr.c NFSv4.1: Fix a kfree() of uninitialised pointers in decode_cb_sequence_args 2015-06-19 11:40:14 +08:00
client.c NFS: avoid NULL dereference in nfs_destroy_server 2013-01-11 09:06:54 -08:00
delegation.c NFSv4: Don't call put_rpccred() under the rcu_read_lock() 2015-06-19 11:40:20 +08:00
delegation.h
dir.c NFS: Fix calls to drop_nlink() 2013-01-11 09:06:54 -08:00
direct.c Disintegrate and delete asm/system.h 2012-03-28 15:58:21 -07:00
dns_resolve.c NFS: fix bug in legacy DNS resolver. 2012-11-17 13:16:12 -08:00
dns_resolve.h
file.c nfs: skip commit in releasepage if we're freeing memory for fs-related reasons 2012-08-09 08:31:40 -07:00
fscache-index.c
fscache.c
fscache.h
getroot.c move d_rcu from overlapping d_child to overlapping d_alias 2015-04-14 17:33:58 +08:00
idmap.c NFS: return -ENOKEY when the upcall fails to map the name 2012-09-14 10:00:16 -07:00
inode.c nfs: if we have no valid attrs, then don't declare the attribute cache valid 2016-10-26 23:15:33 +08:00
internal.h nfs: Show original device name verbatim in /proc/*/mount{s,info} 2012-11-17 13:16:11 -08:00
iostat.h
Kconfig
Makefile
mount_clnt.c nfsv3: Make v3 mounts fail with ETIMEDOUTs instead EIO on mountd timeouts 2012-11-17 13:16:11 -08:00
namespace.c NFS: Don't silently fail setattr() requests on mountpoints 2013-02-03 18:24:42 -06:00
netns.h
nfs2xdr.c
nfs3acl.c
nfs3proc.c SUNRPC handle EKEYEXPIRED in call_refreshresult 2013-11-29 10:50:32 -08:00
nfs3xdr.c NFS: Fix size of NFSACL SETACL operations 2015-10-22 09:20:03 +08:00
nfs4_fs.h NFS: Fix following referral mount points with different security 2012-04-27 14:10:02 -04:00
nfs4filelayout.c SUNRPC handle EKEYEXPIRED in call_refreshresult 2013-11-29 10:50:32 -08:00
nfs4filelayout.h
nfs4filelayoutdev.c NFSv4.1 fix page number calculation bug for filelayout decode buffers 2012-04-26 12:23:23 -04:00
nfs4namespace.c nfs: Show original device name verbatim in /proc/*/mount{s,info} 2012-11-17 13:16:11 -08:00
nfs4proc.c NFSv4: don't set SETATTR for O_RDONLY|O_EXCL 2016-04-27 18:55:15 +08:00
nfs4renewd.c NFSv4.1: Fix an NFSv4.1 state renewal regression 2015-02-02 17:04:46 +08:00
nfs4state.c Failing to send a CLOSE if file is opened WRONLY and server reboots on a 4.x mount 2015-10-22 09:20:08 +08:00
nfs4xdr.c NFSv4: OPEN must handle the NFS4ERR_IO return code correctly 2014-02-13 11:51:12 -08:00
nfsroot.c
pagelist.c
pnfs.c NFSv4.1: Fix a race in pNFS layoutcommit 2014-06-07 16:02:05 -07:00
pnfs.h pnfs: defer release of pages in layoutget 2012-09-14 10:00:15 -07:00
pnfs_dev.c
proc.c SUNRPC handle EKEYEXPIRED in call_refreshresult 2013-11-29 10:50:32 -08:00
read.c NFS: put open context on error in nfs_pagein_multi 2012-04-20 14:54:48 -04:00
super.c nfs: fix null checking in nfs_get_option_str() 2013-01-11 09:06:56 -08:00
symlink.c
sysctl.c
unlink.c NFS: Don't allow NFS silly-renamed files to be deleted, no signal 2013-03-14 11:29:42 -07:00
write.c nfs: tear down caches in nfs_init_writepagecache when allocation fails 2014-02-20 10:45:33 -08:00