• Jeff Mahoney's avatar
    [PATCH] reiserfs: xattr/acl fixes · 2888a220
    Jeff Mahoney authored
    Here are a few fixes for bugs noticed on reiserfs-list or our own bugzilla.
    
    Attached is a patch that fixes several problems with xattrs/acls:
    [SECURITY] Fixes the inode not getting dirtied when mode is set
               via setxattr()
    [CORRECTNESS] Fixes the inode not getting ctime updated when an xattr is
                  removed
    [DATA] Fixes an issue with dcache hash colliding names in the filesystem
           root caused by the d_compare to hide .reiserfs_priv. The bug
           can only occur in the filesystem root, which is why we haven't
           seen many (any, outside of the suse bugzilla, afaik) reports on
           this. The results are that dcache operations on colliding entries
           in the fs root will choose the first match rather than the
           correct entry.
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    2888a220
xattr.c 40.2 KB