<div dir="ltr">ext4 supports an extended operations like rename2, but<br>
inode isn't correctly marked after mkdir.<br>
<br>
Signed-off-by: Alexey Lyashkov <<a href="https://e.mail.ru/compose?To=umka@cloudlinux.com" rel="noopener">umka@cloudlinux.com</a>><br>
---<br>
fs/ext4/namei.c | 1 +<br>
1 file changed, 1 insertion(+)<br>
<br>
diff --git a/fs/ext4/namei.c b/fs/ext4/namei.c<br>
index 0adc6df..bebe698 100644<br>
--- a/fs/ext4/namei.c<br>
+++ b/fs/ext4/namei.c<br>
@@ -2413,6 +2413,7 @@ retry:<br>
<br>
        inode->i_op = &ext4_dir_inode_operations.ops;<br>
        inode->i_fop = &ext4_dir_operations;<br>
+        inode->i_flags |= S_IOPS_WRAPPER;<br>
        err = ext4_init_new_dir(handle, dir, inode);<br>
        if (err)<br>
                goto out_clear_inode;<br>
-- <br>
1.8.3.1</div>