Andrew, These are the patches to do O_* bit numbers uniqueness check. The first one should already be in your tree, so only need to pull the next twos. Thanks, Fengguang --