> static void > -reset_union_bmap_deny(unsigned long deny, struct nfs4_ol_stateid *stp) > +reset_union_bmap_deny(u32 deny, struct nfs4_ol_stateid *stp) > { > int i; > - for (i = 0; i < 4; i++) { > + > + for (i = 1; i < 4; i++) { > if ((i & deny) != i) > clear_deny(i, stp); > } Couldn't this simply be written as: stp->st_deny_bmap &= ~deny; and inlined into the caller? -- 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