reiserfs: add atomic addition of selinux attributes during inode creation
authorJeff Mahoney <jeffm@suse.com>
Mon, 30 Mar 2009 18:02:41 +0000 (14:02 -0400)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 30 Mar 2009 19:16:39 +0000 (12:16 -0700)
commit57fe60df62410f949da094d06ced1dda9575b69c
treef3ba5db112cd7d2a8865d16bece28c38a766145c
parenta41f1a4715f26f7bc4d047d0bc7710145c8e69c7
reiserfs: add atomic addition of selinux attributes during inode creation

Some time ago, some changes were made to make security inode attributes
be atomically written during inode creation.  ReiserFS fell behind in
this area, but with the reworking of the xattr code, it's now fairly
easy to add.

The following patch adds the ability for security attributes to be added
automatically during inode creation.

Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/reiserfs/inode.c
fs/reiserfs/namei.c
fs/reiserfs/xattr_security.c
include/linux/reiserfs_fs.h
include/linux/reiserfs_xattr.h