[PATCH 07/21] erofs: use erofs_inode naming

Christoph Hellwig hch at infradead.org
Mon Sep 2 12:10:21 UTC 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 devel mailing list