xattr.c (a02001086bbfb4da35d1228bebc2f1b442db455f) xattr.c (f42cf8d6a3ec934551ac0f20f4654dccb11fa30d)
1/*
2 * JFFS2 -- Journalling Flash File System, Version 2.
3 *
4 * Copyright © 2006 NEC Corporation
5 *
6 * Created by KaiGai Kohei <kaigai@ak.jp.nec.com>
7 *
8 * For licensing information, see the file 'LICENCE' in this directory.

--- 181 unchanged lines hidden (view full) ---

190 }
191 raw->flash_offset = ref_offset(raw) | ((xd->node==raw) ? REF_PRISTINE : REF_NORMAL);
192 }
193 spin_unlock(&c->erase_completion_lock);
194
195 /* unchecked xdatum is chained with c->xattr_unchecked */
196 list_del_init(&xd->xindex);
197
1/*
2 * JFFS2 -- Journalling Flash File System, Version 2.
3 *
4 * Copyright © 2006 NEC Corporation
5 *
6 * Created by KaiGai Kohei <kaigai@ak.jp.nec.com>
7 *
8 * For licensing information, see the file 'LICENCE' in this directory.

--- 181 unchanged lines hidden (view full) ---

190 }
191 raw->flash_offset = ref_offset(raw) | ((xd->node==raw) ? REF_PRISTINE : REF_NORMAL);
192 }
193 spin_unlock(&c->erase_completion_lock);
194
195 /* unchecked xdatum is chained with c->xattr_unchecked */
196 list_del_init(&xd->xindex);
197
198 dbg_xattr("success on verfying xdatum (xid=%u, version=%u)\n",
198 dbg_xattr("success on verifying xdatum (xid=%u, version=%u)\n",
199 xd->xid, xd->version);
200
201 return 0;
202}
203
204static int do_load_xattr_datum(struct jffs2_sb_info *c, struct jffs2_xattr_datum *xd)
205{
206 /* must be called under down_write(xattr_sem) */

--- 1135 unchanged lines hidden ---
199 xd->xid, xd->version);
200
201 return 0;
202}
203
204static int do_load_xattr_datum(struct jffs2_sb_info *c, struct jffs2_xattr_datum *xd)
205{
206 /* must be called under down_write(xattr_sem) */

--- 1135 unchanged lines hidden ---