<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Thanks! You may be interested to search <a class="moz-txt-link-abbreviated" href="mailto:devel@openvz.org">devel@openvz.org</a> archives
for:</p>
<p>Subject: [PATCH rh7] ext4: ext4_mkdir must set S_IOPS_WRAPPER bit</p>
<p>Date: Mon, 25 Jul 2016 14:01:16 -0700</p>
<br>
<div class="moz-cite-prefix">On 10/14/2016 09:47 AM, Vladimir
Meshkov wrote:<br>
</div>
<blockquote
cite="mid:CADgqXfJQCZfLCjTkfRoLJJyo_YMco_7yoK4xaK3CuHjF6nsChQ@mail.gmail.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<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 moz-do-not-send="true"
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>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Devel@openvz.org">Devel@openvz.org</a>
<a class="moz-txt-link-freetext" href="https://lists.openvz.org/mailman/listinfo/devel">https://lists.openvz.org/mailman/listinfo/devel</a>
</pre>
</blockquote>
<br>
</body>
</html>