#286 erroneous linux2 file_acl field usage on non-linux

closed-fixed
nobody
None
5
2011-10-17
2011-07-27
Anonymous
No

Hello,

e2fsck started complaining about the upper part of the 48bit value
of file_acl, even on non-linux systems (e.g. the Hurd), where
the additional 16bits do not exist, and are used for other usage
(h_i_mode_high on the Hurd).

This is due to ext2fs_file_acl_block (and ext2fs_file_acl_block_set)
not checking that the fs->super->s_creator_os is EXT2_OS_LINUX before
accessing (or setting) the inode->osd2.linux2.l_i_file_acl_high field.

Samuel

Discussion

  • Theodore Ts'o
    Theodore Ts'o
    2011-10-17

    Thanks for pointing this out. I've fixed this in my sources.

     
  • Theodore Ts'o
    Theodore Ts'o
    2011-10-17

    • status: open --> closed-fixed