linux-kernel-test/fs/exofs
Boaz Harrosh 89be503021 exofs: fix pnfs_osd re-definitions in pre-pnfs trees
Some on disk exofs constants and types are defined in the pnfs_osd_xdr.h
file. Since we needed these types before the pnfs-objects code was
accepted to mainline we duplicated the minimal needed definitions into
an exofs local header. The definitions where conditionally included
depending on !CONFIG_PNFS defined. So if PNFS was present in the tree
definitions are taken from there and if not they are defined locally.

That was all good but, the CONFIG_PNFS is planed to be included upstream
before the pnfs-objects is also included. (The first pnfs batch might be
pnfs-files only)

So condition exofs local definitions on the absence of pnfs_osd_xdr.h
inclusion (__PNFS_OSD_XDR_H__ not defined). User code must make sure
that in future pnfs_osd_xdr.h will be included before fs/exofs/pnfs.h,
which happens to be so in current code.

Once pnfs-objects hits mainline, exofs's local header will be removed.

Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
2010-01-05 09:14:32 +02:00
..
BUGS exofs: Documentation 2009-03-31 19:44:38 +03:00
common.h exofs: Multi-device mirror support 2009-12-10 09:59:23 +02:00
dir.c exofs: Remove IBM copyrights 2009-06-21 17:53:47 +03:00
exofs.h exofs: Multi-device mirror support 2009-12-10 09:59:23 +02:00
file.c exofs: Avoid using file_fsync() 2009-06-21 17:53:47 +03:00
inode.c exofs: Multi-device mirror support 2009-12-10 09:59:23 +02:00
ios.c exofs: Multi-device mirror support 2009-12-10 09:59:23 +02:00
Kbuild exofs: move osd.c to ios.c 2009-12-10 09:59:21 +02:00
Kconfig
namei.c exofs: Remove IBM copyrights 2009-06-21 17:53:47 +03:00
pnfs.h exofs: fix pnfs_osd re-definitions in pre-pnfs trees 2010-01-05 09:14:32 +02:00
super.c exofs: Multi-device mirror support 2009-12-10 09:59:23 +02:00
symlink.c exofs: Remove IBM copyrights 2009-06-21 17:53:47 +03:00