aboutsummaryrefslogtreecommitdiffstats
path: root/security/smack/smack.h
diff options
context:
space:
mode:
Diffstat (limited to 'security/smack/smack.h')
-rw-r--r--security/smack/smack.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/security/smack/smack.h b/security/smack/smack.h
index b449cfdad21c..a16925c0e91a 100644
--- a/security/smack/smack.h
+++ b/security/smack/smack.h
@@ -316,22 +316,22 @@ static inline void smk_ad_setfield_u_tsk(struct smk_audit_info *a,
316static inline void smk_ad_setfield_u_fs_path_dentry(struct smk_audit_info *a, 316static inline void smk_ad_setfield_u_fs_path_dentry(struct smk_audit_info *a,
317 struct dentry *d) 317 struct dentry *d)
318{ 318{
319 a->a.u.fs.path.dentry = d; 319 a->a.u.path.dentry = d;
320} 320}
321static inline void smk_ad_setfield_u_fs_path_mnt(struct smk_audit_info *a, 321static inline void smk_ad_setfield_u_fs_path_mnt(struct smk_audit_info *a,
322 struct vfsmount *m) 322 struct vfsmount *m)
323{ 323{
324 a->a.u.fs.path.mnt = m; 324 a->a.u.path.mnt = m;
325} 325}
326static inline void smk_ad_setfield_u_fs_inode(struct smk_audit_info *a, 326static inline void smk_ad_setfield_u_fs_inode(struct smk_audit_info *a,
327 struct inode *i) 327 struct inode *i)
328{ 328{
329 a->a.u.fs.inode = i; 329 a->a.u.inode = i;
330} 330}
331static inline void smk_ad_setfield_u_fs_path(struct smk_audit_info *a, 331static inline void smk_ad_setfield_u_fs_path(struct smk_audit_info *a,
332 struct path p) 332 struct path p)
333{ 333{
334 a->a.u.fs.path = p; 334 a->a.u.path = p;
335} 335}
336static inline void smk_ad_setfield_u_net_sk(struct smk_audit_info *a, 336static inline void smk_ad_setfield_u_net_sk(struct smk_audit_info *a,
337 struct sock *sk) 337 struct sock *sk)