Unified · Split
| @@ -472,8 +472,8 @@ audit: · 471 unmodified lines | ||
| 472 | 472 | int aa_path_link(struct aa_label *label, struct dentry *old_dentry, |
| 473 | 473 | const struct path *new_dir, struct dentry *new_dentry) |
| 474 | 474 | { |
| 475 | − struct path link = { new_dir->mnt, new_dentry }; | |
| 476 | − struct path target = { new_dir->mnt, old_dentry }; | |
| 475 | + struct path link = { .mnt = new_dir->mnt, .dentry = new_dentry }; | |
| 476 | + struct path target = { .mnt = new_dir->mnt, .dentry = old_dentry }; | |
| 477 | 477 | struct path_cond cond = { |
| 478 | 478 | d_backing_inode(old_dentry)->i_uid, |
| 479 | 479 | d_backing_inode(old_dentry)->i_mode |