public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* Cyclic Code?
@ 2012-01-09  6:52 Adil Mujeeb
  2012-01-09 17:40 ` Amit Sahrawat
  0 siblings, 1 reply; 4+ messages in thread
From: Adil Mujeeb @ 2012-01-09  6:52 UTC (permalink / raw)
  To: xfs


[-- Attachment #1.1: Type: text/plain, Size: 784 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 1153 bytes --]

[-- Attachment #2: Type: text/plain, Size: 121 bytes --]

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-01-10  6:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-09  6:52 Cyclic Code? Adil Mujeeb
2012-01-09 17:40 ` Amit Sahrawat
2012-01-09 21:39   ` Dave Chinner
2012-01-10  6:55     ` Adil Mujeeb

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox