diff options
author | Valerie Aurora Henson <vaurora@redhat.com> | 2009-09-07 22:29:45 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2009-09-07 22:29:45 -0400 |
commit | a63745e81cbb476b90c75ca3ca60b9ba4be95cae (patch) | |
tree | b69b86f26b6173aaf0903f2d47cc27c0ccdb8c17 /misc/e2image.c | |
parent | c5b7b6babe658a2037af6c9d2b7a3c23208f98f1 (diff) | |
download | e2fsprogs-a63745e81cbb476b90c75ca3ca60b9ba4be95cae.tar.gz |
Use ext2fs_file_acl_block() instead of using .i_file_acl directly
This provides support for 48-bit file acl blocks.
Signed-off-by: Valerie Aurora Henson <vaurora@redhat.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'misc/e2image.c')
-rw-r--r-- | misc/e2image.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/misc/e2image.c b/misc/e2image.c index 24b9a1eb..abbf6410 100644 --- a/misc/e2image.c +++ b/misc/e2image.c @@ -511,9 +511,9 @@ static void write_raw_image_file(ext2_filsys fs, int fd, int scramble_flag) break; if (!inode.i_links_count) continue; - if (inode.i_file_acl) { + if (ext2fs_file_acl_block(&inode)) { ext2fs_mark_block_bitmap2(meta_block_map, - inode.i_file_acl); + ext2fs_file_acl_block(&inode)); } if (!ext2fs_inode_has_valid_blocks(&inode)) continue; |