[PATCH] ext3: reservation info cleanup: remove rsv_seqlock
commit3bc0a5f5c161254ccce512842627dab97a646a70
authorMingming Cao <cmm@us.ibm.com>
Mon, 4 Apr 2005 00:39:31 +0000 (3 17:39 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Mon, 4 Apr 2005 00:39:31 +0000 (3 17:39 -0700)
tree23cdf6b6a96901427dc68c178260d6b9e0f58ab5
parent1f374d8cc10fd9932359bf5928ed04bdbeca97b1
[PATCH] ext3: reservation info cleanup: remove rsv_seqlock

Since now the ei->truncate_sem is guarding the concurrent allocation and
the deallocation, there is no need to use the the rsv_seqlock lock in the
ext3_reserve_window_node, which was there to protect using/allocating
reservation window race between two threads allocating blocks at the same
time.

Signed-off-by: Mingming Cao <cmm@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/ext3/balloc.c
fs/ext3/ioctl.c
fs/ext3/super.c
include/linux/ext3_fs_i.h