]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] md/bitmap: tidy up i_writecount handling in md/bitmap
authorNeilBrown <neilb@suse.de>
Mon, 26 Jun 2006 07:27:47 +0000 (00:27 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 26 Jun 2006 16:58:38 +0000 (09:58 -0700)
commitacc55e220166a5ad898e66ad6153fd62eaaac76d
treec342dcd3303f01d97c5fe7718af9daf22ec086d2
parent0cdd02cabd86b5d547f882005e23a93929f0ace9
[PATCH] md/bitmap: tidy up i_writecount handling in md/bitmap

md/bitmap modifies i_writecount of a bitmap file to make sure that no-one else
writes to it.  The reverting of the change is sometimes done twice, and there
is one error path where it is omitted.

This patch tidies that up.

Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/md/bitmap.c
drivers/md/md.c