From: Tiger Yang Date: Fri, 14 Nov 2008 03:16:41 +0000 (+0800) Subject: ocfs2: add ocfs2_init_security in during file create X-Git-Tag: v2.6.29-rc1~505^2~113 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=534eadddc1de8754a227202c0e747af4973f82ce;p=pandora-kernel.git 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 Signed-off-by: Mark Fasheh --- Reading git-diff-tree failed