On 2011-03-24 16:45, William A. (Andy) Adamson wrote: > Hi Benny > > int sync is used because the struct writeback_control->sync_mode (an > enum) is assigned. Then the compiler will do the assignment into bool once (I hope it optimizes for the enum values which are {0,1}) and thereafter use the bool value. Benny > > -->Andy > >>> +pnfs_layoutcommit_inode(struct inode *inode, int sync) >> >> "bool sync" makes more sense -- 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