From 912f3e698ed20eb14daad38ef79b106a30d39a02 Mon Sep 17 00:00:00 2001 From: Mark Fasheh Date: Tue, 20 Apr 2010 10:19:54 -0700 Subject: [PATCH 19/30] libocfs2: fix flag check in ocfs2_init_dir() Signed-off-by: Mark Fasheh --- libocfs2/expanddir.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/libocfs2/expanddir.c b/libocfs2/expanddir.c index ec05b74..eb18260 100644 --- a/libocfs2/expanddir.c +++ b/libocfs2/expanddir.c @@ -238,7 +238,7 @@ errcode_t ocfs2_init_dir(ocfs2_filesys *fs, * directory to extent in ocfs2_expand_dir() */ if (ocfs2_supports_indexed_dirs(OCFS2_RAW_SB(fs->fs_super)) && - (!cinode->ci_inode->i_dyn_features & OCFS2_INLINE_DATA_FL)) { + !(cinode->ci_inode->i_dyn_features & OCFS2_INLINE_DATA_FL)) { ret = ocfs2_dx_dir_build(fs, dir); if (ret) goto bail; -- 1.7.0.2