From: Theodore Ts'o Date: Sat, 18 Apr 2009 13:40:26 +0000 (-0400) Subject: debugfs: Print 64-bit file acl X-Git-Tag: v1.41.5~35 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=81624c3c7b4784f6651e807994db4792a49112eb;p=tools%2Fe2fsprogs.git debugfs: Print 64-bit file acl This is necessary so we can debug filesystem corruptions caused by the i_file_acl bogusly getting set. Signed-off-by: "Theodore Ts'o" --- diff --git a/debugfs/debugfs.c b/debugfs/debugfs.c index 95781d9..83acf92 100644 --- a/debugfs/debugfs.c +++ b/debugfs/debugfs.c @@ -581,9 +581,11 @@ void internal_dump_inode(FILE *out, const char *prefix, inode->i_file_acl, LINUX_S_ISDIR(inode->i_mode) ? inode->i_dir_acl : 0, inode->osd1.hurd1.h_i_translator); else - fprintf(out, "%sFile ACL: %d Directory ACL: %d\n", + fprintf(out, "%sFile ACL: %llu Directory ACL: %d\n", prefix, - inode->i_file_acl, LINUX_S_ISDIR(inode->i_mode) ? inode->i_dir_acl : 0); + inode->i_file_acl | ((long long) + (inode->osd2.linux2.l_i_file_acl_high) << 32), + LINUX_S_ISDIR(inode->i_mode) ? inode->i_dir_acl : 0); if (os == EXT2_OS_LINUX) fprintf(out, "%sLinks: %d Blockcount: %llu\n", prefix, inode->i_links_count,