[Ocfs2-tools-devel] [PATCH 3/3] debugfs.ocfs2: fix i_dyn_features check.
Tao Ma
tao.ma at oracle.com
Tue May 11 00:05:09 PDT 2010
Signed-off-by: Tao Ma <tao.ma at oracle.com>
---
debugfs.ocfs2/commands.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/debugfs.ocfs2/commands.c b/debugfs.ocfs2/commands.c
index 04e56b4..5b3c436 100644
--- a/debugfs.ocfs2/commands.c
+++ b/debugfs.ocfs2/commands.c
@@ -2001,7 +2001,7 @@ static void do_xattr(char **args)
}
inode = (struct ocfs2_dinode *)buf;
- if (!inode->i_dyn_features & OCFS2_HAS_XATTR_FL)
+ if (!(inode->i_dyn_features & OCFS2_HAS_XATTR_FL))
return;
out = open_pager(gbls.interactive);
@@ -2219,7 +2219,7 @@ static void do_refcount(char **args)
ret = ocfs2_read_inode(gbls.fs, blkno, buf);
if (!ret) {
di = (struct ocfs2_dinode *)buf;
- if (!di->i_dyn_features & OCFS2_HAS_REFCOUNT_FL) {
+ if (!(di->i_dyn_features & OCFS2_HAS_REFCOUNT_FL)) {
fprintf(stderr,
"%s: Inode %"PRIu64" does not have a "
"refcount tree\n",
--
1.7.0.4
More information about the Ocfs2-tools-devel
mailing list