ocfs2: slot_map I/O based on max_slots.
authorJoel Becker <joel.becker@oracle.com>
Fri, 1 Feb 2008 19:59:07 +0000 (11:59 -0800)
committerMark Fasheh <mfasheh@suse.com>
Fri, 18 Apr 2008 15:56:02 +0000 (08:56 -0700)
commit1c8d9a6a330f46b3a6ddd204a2580131d5f0d6b7
treea61d5fe0a7809a09c0967e66f52b8ce1685fe5f4
parent553abd046af609191a91af7289d87d477adc659f
ocfs2: slot_map I/O based on max_slots.

The slot map code assumed a slot_map file has one block allocated.
This changes the code to I/O as many blocks as will cover max_slots.

Signed-off-by: Joel Becker <joel.becker@oracle.com>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
fs/ocfs2/slot_map.c