Messages in this thread | | | Subject | Re: [PATCH v2] UBIFS: read crypto_lookup from datanodes to znodes | From | Artem Bityutskiy <> | Date | Fri, 18 May 2012 16:23:23 +0300 |
| |
On Wed, 2012-05-16 at 14:52 +0200, Joel Reardon wrote: > + if (key_type(c, &(zbr->key)) == UBIFS_DATA_KEY) { > + struct ubifs_data_node *dn = node; > + long long crypto_lookup = le64_to_cpu(dn->crypto_lookup); > + if (zbr->crypto_lookup != 0) > + ubifs_assert(zbr->crypto_lookup == crypto_lookup); > + else > + zbr->crypto_lookup = crypto_lookup; > + }
Could you please just inject this code directly to 'ubifs_tnc_read_node()' ? I think it is much easier and more nicer, no?
-- Best Regards, Artem Bityutskiy [unhandled content-type:application/pgp-signature] | |