summaryrefslogtreecommitdiff
path: root/fs/compat.c
diff options
context:
space:
mode:
authorMark Fasheh <mfasheh@suse.com>2008-12-11 04:36:25 +0300
committerMark Fasheh <mfasheh@suse.com>2009-01-05 19:40:34 +0300
commit87d35a74b15ec703910a63e0667692fb5e267be0 (patch)
tree39f18bcf38b855fa7ec806803567532f214129f0 /fs/compat.c
parent84008972491ca91b240f106191519781dabb8016 (diff)
downloadlinux-87d35a74b15ec703910a63e0667692fb5e267be0.tar.xz
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 <joel.becker@oracle.com> Signed-off-by: Mark Fasheh <mfasheh@suse.com>
Diffstat (limited to 'fs/compat.c')
0 files changed, 0 insertions, 0 deletions