Re: list of mandatory hooks in file system module implementation

Ingo Weinhold <[email protected]> Tue, 26 Aug 2008 04:06:37 +0200
Newsgroups gmane.os.openbeos.kernel.devel
Message-ID <[email protected]>
On 2008-08-25 at 06:42:45 [+0200], Andr=E9 Braga <[email protected]> wrot=
e:
> On Sun, Aug 24, 2008 at 16:31, J=E9r=F4me Duval <[email protected]=
net> =

> wrote:
> > I did so in r27188 with remarks from Andre. Feel free to adjust if need=
ed.
> =

> 73    #       define FS_CALL(vnode, op, params...) \
> 74                    ( HAS_FS_CALL(vnode, op) ? \
> 75                            vnode->ops->op(vnode->mount->volume, vnode,
> params) \
> 76                            : (panic("FS_CALL op " #op " is NULL"), 0))
> =

> =

> Oh, Jerome... You *so* totally destroyed the subliminal bummered
> smiley that I sneaked there ;D
> =

> (j/k, it's just that this case isn't really covered by the guidelines
> [unless one considers the ":" in "?:" as an operator by itself]... Or
> is the if-else rule being used here?)

While "?" and ":" are not really independent operators, they are still styl=
ed =

that way (i.e. the line is broken before).

CU, Ingo

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great priz=
es
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=3D100&url=3D/