[Devel] [PATCH] ext4: fix mkdir operations with overlayfs
Maxim Patlasov
mpatlasov at virtuozzo.com
Fri Oct 14 11:23:24 PDT 2016
Thanks! You may be interested to search devel at openvz.org archives for:
Subject: [PATCH rh7] ext4: ext4_mkdir must set S_IOPS_WRAPPER bit
Date: Mon, 25 Jul 2016 14:01:16 -0700
On 10/14/2016 09:47 AM, Vladimir Meshkov wrote:
> ext4 supports an extended operations like rename2, but
> inode isn't correctly marked after mkdir.
>
> Signed-off-by: Alexey Lyashkov <umka at cloudlinux.com
> <https://e.mail.ru/compose?To=umka@cloudlinux.com>>
> ---
> fs/ext4/namei.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/fs/ext4/namei.c b/fs/ext4/namei.c
> index 0adc6df..bebe698 100644
> --- a/fs/ext4/namei.c
> +++ b/fs/ext4/namei.c
> @@ -2413,6 +2413,7 @@ retry:
>
> inode->i_op = &ext4_dir_inode_operations.ops;
> inode->i_fop = &ext4_dir_operations;
> + inode->i_flags |= S_IOPS_WRAPPER;
> err = ext4_init_new_dir(handle, dir, inode);
> if (err)
> goto out_clear_inode;
> --
> 1.8.3.1
>
>
> _______________________________________________
> Devel mailing list
> Devel at openvz.org
> https://lists.openvz.org/mailman/listinfo/devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvz.org/pipermail/devel/attachments/20161014/7dc72853/attachment.html>
More information about the Devel
mailing list