From: Mark Fasheh Date: Thu, 11 Dec 2008 01:36:25 +0000 (-0800) Subject: ocfs2: Add directory block trailers. X-Git-Tag: v2.6.29-rc1~505^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=87d35a74b15ec703910a63e0667692fb5e267be0;p=pandora-kernel.git ocfs2: Add directory block trailers. Future ocfs2 features metaecc and indexed directories need to store a little bit of data in each dirblock. For compatibility, we place this in a trailer at the end of the dirblock. The trailer plays itself as an empty dirent, so that if the features are turned off, it can be reused without requiring a tunefs scan. This code adds the trailer and validates it when the block is read in. [ Mark is the original author, but I reinserted this code before his dir index work. -- Joel ] Signed-off-by: Joel Becker Signed-off-by: Mark Fasheh --- Reading git-diff-tree failed