UBIFS: align inode data to eight
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Thu, 24 Jul 2008 11:52:45 +0000 (14:52 +0300)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Wed, 13 Aug 2008 08:35:16 +0000 (11:35 +0300)
commitdab4b4d2f915a65022343012a795f4ae4ae7e83c
tree13a1ec2c5f6b18781145bccddf2fb63017a1336b
parent547000da6412c45456ff2ff44a171d01027bd727
UBIFS: align inode data to eight

UBIFS aligns node lengths to 8, so budgeting has to do the
same. Well, direntry, inode, and page budgets are already
aligned, but not inode data budget (e.g., data in special
devices or symlinks). Do this for inode data as well.
Also, add corresponding debugging checks.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
fs/ubifs/budget.c
fs/ubifs/dir.c
fs/ubifs/file.c
fs/ubifs/ubifs.h
fs/ubifs/xattr.c