Hi list,
i am new to XFS.
I was going through XFS code (2.4 based) for study purpose. Its old but assuming its bit simple as compare to latest one. Moreover the XFS code / design structure documents available on the internet is 2.4 based.
The following code snippet is not clear to me (seems cyclic):
---------
...
...
#define XFS_IFORK_NEXTENTS(ip,w) xfs_ifork_nextents(ip,w)
...
xfs_ifork_nextents(xfs_inode_t *ip, int w)
{
return XFS_IFORK_NEXTENTS(ip, w);
}
...
...
#define XFS_IFORK_NEXTENTS(ip,w) XFS_CFORK_NEXTENTS(&ip->i_d, w)
...
#define XFS_CFORK_NEXTENTS(dcp,w) xfs_cfork_nextents(dcp,w)
...
int
xfs_cfork_nextents(xfs_dinode_core_t *dcp, int w)
{
return XFS_CFORK_NEXTENTS(dcp, w);
}
----
Am i missing something?
Thanks,
Adil
_______________________________________________ xfs mailing list xfs@xxxxxxxxxxx http://oss.sgi.com/mailman/listinfo/xfs