kernels/linux-2.4.0/fs/nfs/inode.c
/*
 * These are probably going to contain hooks for
 * allocating and releasing RPC credentials for
 * the file. I'll have to think about Tronds patch
 * a bit more..
 */
These are probably going to contain hooks for
allocating and releasing RPC credentials for
the file. I'll have to think about Tronds patch
a bit more
These are probably going to contain hooks for allocating and releasing RPC credentials for the file . I ' ll have to think about Tronds patch a bit more
int nfs_open(struct inode *inode, struct file *filp)
{
	struct rpc_auth *auth;
	struct rpc_cred *cred;
	lock_kernel();
	auth = NFS_CLIENT(inode)->cl_auth;
	cred = rpcauth_lookupcred(auth, 0);
	filp->private_data = cred;
	unlock_kernel();
	return 0;
}
int nfs_open ( struct inode * inode , struct file * filp ) { struct rpc_auth * auth ; struct rpc_cred * cred ; lock_kernel ( ) ; auth = NFS_CLIENT ( inode ) -> cl_auth ; cred = rpcauth_lookupcred ( auth , 0 ) ; filp -> private_data = cred ; unlock_kernel ( ) ; return 0 ; }
These are probably going to contain hooks for
 allocating and releasing RPC credentials for
 the file.
These are probably going to contain hooks for allocating and releasing RPC credentials for the file .