diff options
author | Tao Ma <tao.ma@oracle.com> | 2009-02-25 02:40:26 +0100 |
---|---|---|
committer | Mark Fasheh <mfasheh@suse.com> | 2009-02-26 20:51:11 +0100 |
commit | c8b9cf9a7cd25ba65166116d0a958f0bc709f0a7 (patch) | |
tree | 81ab9d6d0be93e57bcb17130abed3516574b3752 /sound/drivers | |
parent | ocfs2: Use the right access_* method in ctime update of xattr. (diff) | |
download | linux-c8b9cf9a7cd25ba65166116d0a958f0bc709f0a7.tar.xz linux-c8b9cf9a7cd25ba65166116d0a958f0bc709f0a7.zip |
ocfs2: lock the metaecc process for xattr bucket
For other metadata in ocfs2, metaecc is checked in ocfs2_read_blocks
with io_mutex held. While for xattr bucket, it is calculated by
the whole buckets. So we have to add a spin_lock to prevent multiple
processes calculating metaecc.
Signed-off-by: Tao Ma <tao.ma@oracle.com>
Tested-by: Tristan Ye <tristan.ye@oracle.com>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
Diffstat (limited to 'sound/drivers')
0 files changed, 0 insertions, 0 deletions