diff options
author | KaiGai Kohei <kaigai@ak.jp.nec.com> | 2006-06-24 00:16:50 (GMT) |
---|---|---|
committer | David Woodhouse <dwmw2@infradead.org> | 2006-06-27 15:19:06 (GMT) |
commit | 2c887e2359f6e7217cdaa17994ca94ef328b658f (patch) | |
tree | 4af246384893ec0b18380aacb97cc0f2a0226ec8 /MAINTAINERS | |
parent | 355ed4e141203fd7266ef9d90d57be0c61bd1aa4 (diff) | |
download | linux-2c887e2359f6e7217cdaa17994ca94ef328b658f.tar.xz |
[JFFS2][XATTR] Re-define xd->refcnt as atomic_t
In jffs2_release_xattr_datum(), it refers xd->refcnt to ensure
whether releasing xd is allowed or not.
But we can't hold xattr_sem since this function is called under
spin_lock(&c->erase_completion_lock). Thus we have to refer it
without any locking.
This patch redefine xd->refcnt as atomic_t. It enables to refer
xd->refcnt without any locking.
Signed-off-by: KaiGai Kohei <kaigai@ak.jp.nec.com>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions