Re: [PATCH 03/10] AXFS: axfs.h

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Arnd Bergmann
Date: Thursday, August 21, 2008 - 4:31 am

On Thursday 21 August 2008, Jared Hulbert wrote:

You already have both __KERNEL__ and user space parts in your header.
Function declarations clearly don't belong in the user visible parts.
I suggest you only leave on-disk data structure definitions and user
interfaces in the user-visible include/linux/axfs.h file, and move
all internal interfaces to fs/axfs/axfs.h.


For on-disk data structures, I would use __be64 or __le64 types,
preferrably the opposite of your native CPU byte order on the system
you are developing most code on, to make sure that you get endianess
right.


What happens on systems where AXFS_PAGE_SIZE != PAGE_SIZE?


These are already defined in <linux/kernel.h>, so please use the
existing definitions.

	Arnd <><
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 03/10] AXFS: axfs.h, Jared Hulbert, (Wed Aug 20, 10:45 pm)
Re: [PATCH 03/10] AXFS: axfs.h, Carsten Otte, (Thu Aug 21, 12:51 am)
Re: [PATCH 03/10] AXFS: axfs.h, Arnd Bergmann, (Thu Aug 21, 4:31 am)
Re: [PATCH 03/10] AXFS: axfs.h, Arnd Bergmann, (Thu Aug 21, 5:24 am)
Re: [PATCH 03/10] AXFS: axfs.h, Daniel Walker, (Thu Aug 21, 6:10 am)
Re: [PATCH 03/10] AXFS: axfs.h, Jared Hulbert, (Thu Aug 21, 1:05 pm)
Re: [PATCH 03/10] AXFS: axfs.h, Jared Hulbert, (Thu Aug 21, 1:07 pm)
Re: [PATCH 03/10] AXFS: axfs.h, Jared Hulbert, (Thu Aug 21, 3:40 pm)
Re: [PATCH 03/10] AXFS: axfs.h, Arnd Bergmann, (Fri Aug 22, 4:27 am)
Re: [PATCH 03/10] AXFS: axfs.h, Geert Uytterhoeven, (Fri Aug 22, 5:04 am)
Re: [PATCH 03/10] AXFS: axfs.h, Jared Hulbert, (Fri Aug 22, 11:12 am)