Skip to content
  • Alexander Beregalov's avatar
    reiserfs: fix build breakage · 77e46586
    Alexander Beregalov authored
    
    
    Fix this build error when REISERFS_FS_POSIX_ACL is not set:
    
      fs/reiserfs/inode.c: In function 'reiserfs_new_inode':
      fs/reiserfs/inode.c:1919: warning: passing argument 1 of 'reiserfs_inherit_default_acl' from incompatible pointer type
      fs/reiserfs/inode.c:1919: warning: passing argument 2 of 'reiserfs_inherit_default_acl' from incompatible pointer type
      fs/reiserfs/inode.c:1919: warning: passing argument 3 of 'reiserfs_inherit_default_acl' from incompatible pointer type
      fs/reiserfs/inode.c:1919: error: too many arguments to function 'reiserfs_inherit_default_acl'
    
    due to a missing transaction-handle argument in the non-acl
    compatibility function.
    
    Signed-off-by: default avatarAlexander Beregalov <a.beregalov@gmail.com>
    Acked-by: default avatarJeff Mahoney <jeffm@suse.com>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    77e46586