/* Ensure that mmap has a recent RPC credential for use when writing out shared pages  */
static void nfs_file_set_open_context(struct file *filp, struct nfs_open_context *ctx)
/* Ensure that mmap has a recent RPC credential for use when writing out shared pages  */
static void nfs_file_set_open_context(struct file *filp, struct nfs_open_context *ctx)
{
	struct inode *inode = filp->f_path.dentry->d_inode;
	struct nfs_inode *nfsi = NFS_I(inode);
	filp->private_data = get_nfs_open_context(ctx);
	spin_lock(&inode->i_lock);
	list_add(&ctx->list, &nfsi->open_files);
	spin_unlock(&inode->i_lock);
}