diff options
author | Theodore Ts'o <tytso@mit.edu> | 2011-10-16 20:29:00 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2011-10-16 20:46:49 -0400 |
commit | 0c80c44bd08c60f3cd0ad87f12a71a75cac3bcaa (patch) | |
tree | 67a7c88cc9f1ec48d47664d8c06f655acf568ae4 /tests/f_bad_disconnected_inode | |
parent | 515e555a0c36ae0294d71ba9ba45f7fa576cfd0f (diff) | |
download | android_external_e2fsprogs-0c80c44bd08c60f3cd0ad87f12a71a75cac3bcaa.tar.gz android_external_e2fsprogs-0c80c44bd08c60f3cd0ad87f12a71a75cac3bcaa.tar.bz2 android_external_e2fsprogs-0c80c44bd08c60f3cd0ad87f12a71a75cac3bcaa.zip |
libext2fs: ext2fs_[set_]file_acl_block needs to check for 64-bit feature flag
The ext2fs_file_acl_block() and ext2fs_set_file_acl_block() needs to
only check i_file_acl_high if the 64-bit flag is set. This is needed
because otherwise we will run into problems on Hurd systems which
actually use that field for h_i_mode_high.
This involves an ABI change since we need to pass ext2_filsys to these
functions. Fortunately these functions were first included in the
1.42-WIP series, so it's OK for us to change them now. (This is why
we have 1.42-WIP releases. :-)
Addresses-Sourceforge-Bug: #3379227
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'tests/f_bad_disconnected_inode')
-rw-r--r-- | tests/f_bad_disconnected_inode/expect.1 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/f_bad_disconnected_inode/expect.1 b/tests/f_bad_disconnected_inode/expect.1 index b1bfca59..d3920e30 100644 --- a/tests/f_bad_disconnected_inode/expect.1 +++ b/tests/f_bad_disconnected_inode/expect.1 @@ -24,13 +24,13 @@ Pass 3: Checking directory connectivity Pass 4: Checking reference counts Inode 2 ref count is 4, should be 3. Fix? yes -i_file_acl for inode 13 (...) is 239964041625745, should be zero. +i_file_acl for inode 13 (...) is 4218798225, should be zero. Clear? yes Inode 13 (...) has invalid mode (0117003). Clear? yes -i_file_acl for inode 14 (...) is 178759431711162, should be zero. +i_file_acl for inode 14 (...) is 2892851642, should be zero. Clear? yes Inode 14 (...) has invalid mode (0154247). |