From: Joel Becker Date: Fri, 1 Feb 2008 20:04:48 +0000 (-0800) Subject: ocfs2: De-magic the in-memory slot map. X-Git-Tag: v2.6.26-rc1~1143^2~59 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc881fa0d59596c02f8707b5572567c369d4789a;p=pandora-kernel.git ocfs2: De-magic the in-memory slot map. The in-memory slot map uses the same magic as the on-disk one. There is a special value to mark a slot as invalid. It relies on the size of certain types and so on. Write a new in-memory map that keeps validity as a separate field. Outside of the I/O functions, OCFS2_INVALID_SLOT now means what it is supposed to. It also is no longer tied to the type size. This also means that only the I/O functions refer to 16bit quantities. Signed-off-by: Joel Becker Signed-off-by: Mark Fasheh --- Reading git-diff-tree failed