Re: [PATCH 1/9] xfs: introduce inode log format object

Dave Chinner
2016-02-08T19:28:31Z

On Mon, Feb 08, 2016 at 01:23:18AM -0800, Christoph Hellwig wrote:
> This looks fine in general:
>
> Reviewed-by: Christoph Hellwig <hch@lst.de>
>
> But: this now introduce struct inode to libxfs code, what's your plan
> to deal with that in xfsprogs?

The struct xfs_inode is already unique between user and kernel
space, so I was simply going to define all the new fields directly
inside the struct xfs_inode and:

#define VFS_I(ip) (ip)

Or If I can't get that to work without somehow defining a struct
inode, then put all the fields in a struct inode private to the
struct xfs_inode and just do the same conversion as the kernel.

Cheers,

Dave.
--
Dave Chinner
david@fromorbit.com