Merge tag 'f2fs-for-5.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jaegeu...
[platform/kernel/linux-rpi.git] / fs / f2fs / namei.c
index 405d85d..a9cd9cf 100644 (file)
@@ -416,9 +416,8 @@ out:
 
 struct dentry *f2fs_get_parent(struct dentry *child)
 {
-       struct qstr dotdot = QSTR_INIT("..", 2);
        struct page *page;
-       unsigned long ino = f2fs_inode_by_name(d_inode(child), &dotdot, &page);
+       unsigned long ino = f2fs_inode_by_name(d_inode(child), &dotdot_name, &page);
 
        if (!ino) {
                if (IS_ERR(page))
@@ -1330,6 +1329,8 @@ const struct inode_operations f2fs_dir_inode_operations = {
        .set_acl        = f2fs_set_acl,
        .listxattr      = f2fs_listxattr,
        .fiemap         = f2fs_fiemap,
+       .fileattr_get   = f2fs_fileattr_get,
+       .fileattr_set   = f2fs_fileattr_set,
 };
 
 const struct inode_operations f2fs_symlink_inode_operations = {