android_kernel_xiaomi_sm8350/fs/ocfs2
Tiger Yang 534eadddc1 ocfs2: add ocfs2_init_security in during file create
Security attributes must be set when creating a new inode.

We do this in three steps.

- First, get security xattr's name and value by security_operation

- Calculate and reserve the meta data and clusters needed by this security
  xattr before starting transaction

- Finally, we set it before add_entry

Signed-off-by: Tiger Yang <tiger.yang@oracle.com>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
2009-01-05 08:34:20 -08:00
..
cluster fs: replace NIPQUAD() 2008-10-31 00:56:28 -07:00
dlm Merge branch 'master' into next 2008-12-04 17:16:36 +11:00
alloc.c ocfs2: turn __ocfs2_remove_inode_range() into ocfs2_remove_btree_range() 2009-01-05 08:34:19 -08:00
alloc.h ocfs2: turn __ocfs2_remove_inode_range() into ocfs2_remove_btree_range() 2009-01-05 08:34:19 -08:00
aops.c
aops.h
buffer_head_io.c ocfs2: fix regression in ocfs2_read_blocks_sync() 2008-12-01 14:46:58 -08:00
buffer_head_io.h
dcache.c
dcache.h
dir.c
dir.h
dlmglue.c ocfs2: fix wake_up in unlock_ast 2008-12-01 14:46:45 -08:00
dlmglue.h
export.c
export.h
extent_map.c
extent_map.h
file.c ocfs2: turn __ocfs2_remove_inode_range() into ocfs2_remove_btree_range() 2009-01-05 08:34:19 -08:00
file.h
heartbeat.c
heartbeat.h
inode.c ocfs2: Set journal descriptor to NULL after journal shutdown 2008-11-10 09:51:47 -08:00
inode.h
ioctl.c
ioctl.h
journal.c ocfs2: Set journal descriptor to NULL after journal shutdown 2008-11-10 09:51:47 -08:00
journal.h
localalloc.c
localalloc.h
locks.c
locks.h
Makefile
mmap.c ocfs2: return 0 in page_mkwrite to let VFS retry. 2008-11-10 09:51:47 -08:00
mmap.h
namei.c ocfs2: add ocfs2_init_security in during file create 2009-01-05 08:34:20 -08:00
namei.h
ocfs1_fs_compat.h
ocfs2_fs.h ocfs2: Add JBD2 compat feature bit. 2008-12-16 18:26:16 -08:00
ocfs2_jbd_compat.h
ocfs2_lockid.h
ocfs2_lockingver.h
ocfs2.h ocfs2: comments typo fix 2008-12-01 14:46:31 -08:00
resize.c
resize.h
slot_map.c
slot_map.h
stack_o2cb.c
stack_user.c ocfs2: initialize stack_user lvbptr 2008-12-01 14:46:39 -08:00
stackglue.c
stackglue.h
suballoc.c
suballoc.h
super.c
super.h
symlink.c
symlink.h
sysfile.c
sysfile.h
uptodate.c
uptodate.h
ver.c
ver.h
xattr.c ocfs2: add ocfs2_init_security in during file create 2009-01-05 08:34:20 -08:00
xattr.h ocfs2: add ocfs2_init_security in during file create 2009-01-05 08:34:20 -08:00