[PATCH 07/21] erofs: use erofs_inode naming

Christoph Hellwig hch at infradead.org
Mon Sep 2 22:10:21 AEST 2019


>  {
> -	struct erofs_vnode *vi = ptr;
> -
> -	inode_init_once(&vi->vfs_inode);
> +	inode_init_once(&((struct erofs_inode *)ptr)->vfs_inode);

Why doesn't this use EROFS_I?  This looks a little odd.


More information about the Linux-erofs mailing list