android_kernel_xiaomi_sm8350/fs/nfs
Trond Myklebust e761692381 NFSv4: Make nfs4_state track O_RDWR, O_RDONLY and O_WRONLY separately
A closer reading of RFC3530 reveals that OPEN_DOWNGRADE must always
 specify a access modes that have been the argument of a previous OPEN
 operation.
 IOW: doing OPEN(O_RDWR) and then OPEN_DOWNGRADE(O_WRONLY) is forbidden
 unless the user called OPEN(O_WRONLY)

 In order to fix that, we really need to track the three possible open
 states separately.

 Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
2006-01-06 14:58:43 -05:00
..
callback_proc.c
callback_xdr.c
callback.c [INET_SOCK]: Move struct inet_sock & helper functions to net/inet_sock.h 2006-01-03 13:11:21 -08:00
callback.h
delegation.c [PATCH] kfree cleanup: fs 2005-11-07 07:54:06 -08:00
delegation.h NFSv4: Recover locks too when returning a delegation 2005-11-04 15:38:11 -05:00
dir.c NFS: Fix post-op attribute revalidation... 2005-12-03 15:20:17 -05:00
direct.c NFSv4: stateful NFSv4 RPC call interface 2006-01-06 14:58:40 -05:00
file.c [PATCH] fix posix lock on NFS 2005-12-22 09:24:05 -08:00
idmap.c Revert "[PATCH] RPC,NFS: new rpc_pipefs patch" 2005-09-23 12:39:00 -04:00
inode.c NFS: Fix another O_DIRECT race 2005-12-19 23:12:09 -05:00
Makefile
mount_clnt.c
nfs2xdr.c NFS: Optimise inode attribute cache updates 2005-10-27 22:12:39 -04:00
nfs3acl.c [PATCH] NFS: Introduce the use of inode->i_lock to protect fields in nfsi 2005-08-18 12:53:57 -07:00
nfs3proc.c RPC: Clean up RPC task structure 2006-01-06 14:58:39 -05:00
nfs3xdr.c NFS: Optimise inode attribute cache updates 2005-10-27 22:12:39 -04:00
nfs4_fs.h NFSv4: Make nfs4_state track O_RDWR, O_RDONLY and O_WRONLY separately 2006-01-06 14:58:43 -05:00
nfs4proc.c NFSv4: Make nfs4_state track O_RDWR, O_RDONLY and O_WRONLY separately 2006-01-06 14:58:43 -05:00
nfs4renewd.c
nfs4state.c NFSv4: Make nfs4_state track O_RDWR, O_RDONLY and O_WRONLY separately 2006-01-06 14:58:43 -05:00
nfs4xdr.c NFSv4: Make open_confirm() asynchronous too 2006-01-06 14:58:42 -05:00
nfsroot.c
pagelist.c
proc.c RPC: Clean up RPC task structure 2006-01-06 14:58:39 -05:00
read.c RPC: Clean up RPC task structure 2006-01-06 14:58:39 -05:00
symlink.c Fix nasty ncpfs symlink handling bug. 2005-08-19 18:02:56 -07:00
unlink.c SUNRPC: Further cleanups 2006-01-06 14:58:40 -05:00
write.c RPC: Clean up RPC task structure 2006-01-06 14:58:39 -05:00