In net-next-2.6, close() of a file after writing tends to return 1. This causes e.g. gcc to abort. This appears to have been fixed in 2.6.36-rc2: commit 0702099bd86c33c2dcdbd3963433a61f3f503901 Author: J. R. Okajima <hooanon05@xxxxxxxxxxx> Date: Wed Aug 11 13:10:16 2010 -0400 NFS: fix the return value of nfs_file_fsync() Please consider merging this fix in some way. Ben. -- Ben Hutchings, Senior Software Engineer, Solarflare Communications Not speaking for my employer; that's the marketing department's job. They asked us to note that Solarflare product names are trademarked. -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html