]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blobdiff - fs/ext4/namei.c
Merge tag 'ext4_for_linus_stable' of git://git.kernel.org/pub/scm/linux/kernel/git...
[mirror_ubuntu-jammy-kernel.git] / fs / ext4 / namei.c
index 2531f9e9e90e6bc42eada1266bb49bf2088299ab..a4af26d4459a3b947277d3c3f331f93b694840e1 100644 (file)
@@ -1816,11 +1816,10 @@ static struct dentry *ext4_lookup(struct inode *dir, struct dentry *dentry, unsi
 struct dentry *ext4_get_parent(struct dentry *child)
 {
        __u32 ino;
-       static const struct qstr dotdot = QSTR_INIT("..", 2);
        struct ext4_dir_entry_2 * de;
        struct buffer_head *bh;
 
-       bh = ext4_find_entry(d_inode(child), &dotdot, &de, NULL);
+       bh = ext4_find_entry(d_inode(child), &dotdot_name, &de, NULL);
        if (IS_ERR(bh))
                return ERR_CAST(bh);
        if (!bh)
@@ -4291,6 +4290,8 @@ const struct inode_operations ext4_dir_inode_operations = {
        .get_acl        = ext4_get_acl,
        .set_acl        = ext4_set_acl,
        .fiemap         = ext4_fiemap,
+       .fileattr_get   = ext4_fileattr_get,
+       .fileattr_set   = ext4_fileattr_set,
 };
 
 const struct inode_operations ext4_special_inode_operations = {