summaryrefslogtreecommitdiffstats
path: root/fs/fs-writeback.c
diff options
context:
space:
mode:
authorTetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>2017-03-22 19:46:19 +0900
committerJames Morris <james.l.morris@oracle.com>2017-03-24 14:24:41 +1100
commit3dfc9b02864b19f4dab376f14479ee4ad1de6c9e (patch)
tree8a386143e6ce7a3c8a48b0b25dd7e506de04c6a1 /fs/fs-writeback.c
parentca97d939db114c8d1619e10a3b82af8615372dae (diff)
downloadlinux-3dfc9b02864b19f4dab376f14479ee4ad1de6c9e.tar.bz2
LSM: Initialize security_hook_heads upon registration.
"struct security_hook_heads" is an array of "struct list_head" where elements can be initialized just before registration. There is no need to waste 350+ lines for initialization. Let's initialize "struct security_hook_heads" just before registration. Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> Acked-by: Kees Cook <keescook@chromium.org> Cc: John Johansen <john.johansen@canonical.com> Cc: Kees Cook <keescook@chromium.org> Cc: Paul Moore <paul@paul-moore.com> Cc: Stephen Smalley <sds@tycho.nsa.gov> Cc: Casey Schaufler <casey@schaufler-ca.com> Cc: James Morris <james.l.morris@oracle.com> Signed-off-by: James Morris <james.l.morris@oracle.com>
Diffstat (limited to 'fs/fs-writeback.c')
0 files changed, 0 insertions, 0 deletions