>flags = flags ? flags : ~0; Here's a little known GNU C feature that makes it even easier to read: flags = flags ?: ~0 - To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html