result = nfs_revalidate_inode(NFS_SERVER(inode), inode); if (result) goto out; 
/* * O_APPEND implies that we must revalidate the file length. */ if (iocb->ki_filp->f_flags & O_APPEND) { result = nfs_revalidate_file_size(inode, iocb->ki_filp); if (result) goto out; } else nfs_revalidate_mapping(inode, iocb->ki_filp->f_mapping); 
nfs_file_write(struct kiocb *iocb, const char __user *buf, size_t count, loff_t pos){	struct dentry * dentry = iocb->ki_filp->f_dentry;	struct inode * inode = dentry->d_inode;	ssize_t result;#ifdef CONFIG_NFS_DIRECTIO	if (iocb->ki_filp->f_flags & O_DIRECT)		return nfs_file_direct_write(iocb, buf, count, pos);#endif	dfprintk(VFS, "nfs: write(%s/%s(%ld), %lu@%lu)\n",		dentry->d_parent->d_name.name, dentry->d_name.name,		inode->i_ino, (unsigned long) count, (unsigned long) pos);	result = -EBUSY;	if (IS_SWAPFILE(inode))		goto out_swapfile;	result = nfs_revalidate_inode(NFS_SERVER(inode), inode);	if (result)		goto out;	result = count;	if (!count)		goto out;	result = generic_file_aio_write(iocb, buf, count, pos);out:	return result;out_swapfile:	printk(KERN_INFO "NFS: attempt to write to active swap file!\n");	goto out;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/7d52e86274e09fce8ac8f963e3605a84d0a305a7/file.c/clean/fs/nfs/file.c