android_kernel_google_msm/fs/nfs
Miklos Szeredi 37d50c6e2b nfs: don't use intents for checking atomic open
is_atomic_open() is now only used by nfs4_lookup_revalidate() to check whether
it's okay to skip normal revalidation.

It does a racy check for mount read-onlyness and falls back to normal
revalidation if the open would fail.  This makes little sense now that this
function isn't used for determining whether to actually open the file or not.

The d_mountpoint() check still makes sense since it is an indication that we
might be following a mount and so open may not revalidate the dentry.

Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
CC: Trond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Change-Id: Ibad58603956e406c63b4b7c63243502eabe6febf
2018-12-07 22:20:38 +04:00
..
blocklayout
objlayout
cache_lib.c
cache_lib.h
callback.c
callback.h
callback_proc.c
callback_xdr.c
client.c
delegation.c
delegation.h
dir.c nfs: don't use intents for checking atomic open 2018-12-07 22:20:38 +04:00
direct.c
dns_resolve.c
dns_resolve.h
file.c nfs: don't open in ->d_revalidate 2018-12-07 22:20:38 +04:00
fscache-index.c
fscache.c
fscache.h
getroot.c
idmap.c
inode.c Merge remote-tracking branch 'stable/linux-3.4.y' into lineage-15.1 2017-12-27 17:13:15 +03:00
internal.h
iostat.h
Kconfig
Makefile
mount_clnt.c
namespace.c
netns.h
nfs2xdr.c
nfs3acl.c
nfs3proc.c nfs: clean up ->create in nfs_rpc_ops 2018-12-07 22:20:38 +04:00
nfs3xdr.c
nfs4_fs.h
nfs4filelayout.c
nfs4filelayout.h
nfs4filelayoutdev.c
nfs4namespace.c
nfs4proc.c nfs: clean up ->create in nfs_rpc_ops 2018-12-07 22:20:38 +04:00
nfs4renewd.c
nfs4state.c
nfs4xdr.c
nfsroot.c
pagelist.c
pnfs.c
pnfs.h
pnfs_dev.c
proc.c nfs: clean up ->create in nfs_rpc_ops 2018-12-07 22:20:38 +04:00
read.c
super.c Merge remote-tracking branch 'stable/linux-3.4.y' into lineage-15.1 2017-12-27 17:13:15 +03:00
symlink.c
sysctl.c
unlink.c
write.c