|
@@ -472,8 +472,8 @@ audit:
|
|
|
int aa_path_link(struct aa_label *label, struct dentry *old_dentry,
|
|
|
const struct path *new_dir, struct dentry *new_dentry)
|
|
|
{
|
|
|
- struct path link = { new_dir->mnt, new_dentry };
|
|
|
- struct path target = { new_dir->mnt, old_dentry };
|
|
|
+ struct path link = { .mnt = new_dir->mnt, .dentry = new_dentry };
|
|
|
+ struct path target = { .mnt = new_dir->mnt, .dentry = old_dentry };
|
|
|
struct path_cond cond = {
|
|
|
d_backing_inode(old_dentry)->i_uid,
|
|
|
d_backing_inode(old_dentry)->i_mode
|