> /* Flush writes to the server and return any errors */ > - return nfs_do_fsync(ctx, inode); > + return vfs_fsync(file, 0); Either the argument to vfs_fsync or the comment needs some changes. datasync = 0 means we don't just flush writes but also metadata. I don't know enough about the NFS CTO guarantees to figure which one you actually want. -- 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