diff options
author | Tiger Yang <tiger.yang@oracle.com> | 2008-08-18 05:08:55 -0400 |
---|---|---|
committer | Mark Fasheh <mfasheh@suse.com> | 2008-10-13 19:57:02 -0400 |
commit | fdd77704a8b4666a32120fcd1e4a9fedaf3263d8 (patch) | |
tree | bfc7ba78487c5c6287354b2b07ee4042bff566bc /fs/ocfs2/super.c | |
parent | f56654c435c06f2b2bd5751889b1a08a3add7d6c (diff) |
ocfs2: reserve inline space for extended attribute
Add the structures and helper functions we want for handling inline extended
attributes. We also update the inline-data handlers so that they properly
function in the event that we have both inline data and inline attributes
sharing an inode block.
Signed-off-by: Tiger Yang <tiger.yang@oracle.com>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
Diffstat (limited to 'fs/ocfs2/super.c')
-rw-r--r-- | fs/ocfs2/super.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/ocfs2/super.c b/fs/ocfs2/super.c index a2d3dcf70252..9bdb3aeefe89 100644 --- a/fs/ocfs2/super.c +++ b/fs/ocfs2/super.c | |||
@@ -1424,6 +1424,8 @@ static int ocfs2_initialize_super(struct super_block *sb, | |||
1424 | 1424 | ||
1425 | osb->slot_num = OCFS2_INVALID_SLOT; | 1425 | osb->slot_num = OCFS2_INVALID_SLOT; |
1426 | 1426 | ||
1427 | osb->s_xattr_inline_size = OCFS2_MIN_XATTR_INLINE_SIZE; | ||
1428 | |||
1427 | osb->local_alloc_state = OCFS2_LA_UNUSED; | 1429 | osb->local_alloc_state = OCFS2_LA_UNUSED; |
1428 | osb->local_alloc_bh = NULL; | 1430 | osb->local_alloc_bh = NULL; |
1429 | INIT_DELAYED_WORK(&osb->la_enable_wq, ocfs2_la_enable_worker); | 1431 | INIT_DELAYED_WORK(&osb->la_enable_wq, ocfs2_la_enable_worker); |