]> err.no Git - linux-2.6/commit
[JFFS2][XATTR] Remove jffs2_garbage_collect_xattr(c, ic)
authorKaiGai Kohei <kaigai@ak.jp.nec.com>
Sat, 13 May 2006 06:16:13 +0000 (15:16 +0900)
committerKaiGai Kohei <kaigai@ak.jp.nec.com>
Sat, 13 May 2006 06:16:13 +0000 (15:16 +0900)
commit084702e00111eb9ffb6d8a5c1938b8e5423e40a8
tree42f5842eb6f5373b04c4f4d254fde0bdcea2a4d5
parent8f2b6f49c656dd4597904f8c20661d6b73cdbbeb
[JFFS2][XATTR] Remove jffs2_garbage_collect_xattr(c, ic)

Remove jffs2_garbage_collect_xattr(c, ic).
jffs2_garbage_collect_xattr_datum/ref() are called from gc.c directly.

In original implementation, jffs2_garbage_collect_xattr(c, ic) returns
with holding a spinlock if 'ic' is inode_cache. But it returns after
releasing a spinlock if 'ic' is xattr_datum/ref.
It looks so confusable behavior. Thus, this patch makes caller manage
locking/unlocking.

[5/10] jffs2-xattr-v5.1-05-update_xattr_gc.patch

Signed-off-by: KaiGai Kohei <kaigai@ak.jp.nec.com>
fs/jffs2/gc.c
fs/jffs2/xattr.c
fs/jffs2/xattr.h