]> err.no Git - linux-2.6/commit
Replace obscure constructs in fs/block_dev.c
authorJohannes Weiner <hannes-kernel@saeurebad.de>
Mon, 16 Jul 2007 06:41:25 +0000 (23:41 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 16 Jul 2007 16:05:50 +0000 (09:05 -0700)
commit4e91672c76319aaed24ea3e784e238cf445c57cb
treecabe2885ede89b832e147fb32404cc2a22ddf30c
parent948730b0e39fb4cba4a5ed0fc40e0f017cce2dfa
Replace obscure constructs in fs/block_dev.c

Replace some funky codepaths in fs/block_dev.c with cleaner versions of the
affected places.

[akpm@linux-foundation.org: fix return value]
Signed-off-by: Johannes Weiner <hannes-kernel@saeurebad.de>
Cc: Bjorn Steinbrink <B.Steinbrink@gmx.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/block_dev.c