Re: list of mandatory hooks in file system module implementation
"André Braga" <[email protected]> Mon, 25 Aug 2008 01:42:45 -0300
| Newsgroups | gmane.os.openbeos.kernel.devel |
|---|---|
| Message-ID | <[email protected]> |
On Sun, Aug 24, 2008 at 16:31, J=E9r=F4me Duval <[email protected]= t> wrote: > I did so in r27188 with remarks from Andre. Feel free to adjust if needed. 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?) Cheers, A. ------------------------------------------------------------------------- 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/