+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
- <key>CFBundleDevelopmentRegion</key>
- <string>English</string>
- <key>CFBundleExecutable</key>
- <string>lov</string>
- <key>CFBundleIconFile</key>
- <string></string>
- <key>CFBundleIdentifier</key>
- <string>com.clusterfs.lustre.lov</string>
- <key>CFBundleInfoDictionaryVersion</key>
- <string>6.0</string>
- <key>CFBundlePackageType</key>
- <string>KEXT</string>
- <key>CFBundleSignature</key>
- <string>????</string>
- <key>CFBundleVersion</key>
- <string>1.0.1</string>
- <key>OSBundleCompatibleVersion</key>
- <string>1.0.0</string>
- <key>OSBundleLibraries</key>
- <dict>
- <key>com.apple.kpi.bsd</key>
- <string>8.0.0b1</string>
- <key>com.apple.kpi.libkern</key>
- <string>8.0.0b1</string>
- <key>com.apple.kpi.mach</key>
- <string>8.0.0b1</string>
- <key>com.clusterfs.lustre.libcfs</key>
- <string>1.0.0</string>
- <key>com.clusterfs.lustre.lvfs</key>
- <string>1.0.0</string>
- <key>com.clusterfs.lustre.obdclass</key>
- <string>1.0.0</string>
- <key>com.clusterfs.lustre.ptlrpc</key>
- <string>1.0.0</string>
- </dict>
-</dict>
-</plist>
# Lustre is a trademark of Sun Microsystems, Inc.
#
-if LIBLUSTRE
-noinst_LIBRARIES = liblov.a
-liblov_a_SOURCES = lov_cl_internal.h \
- lov_internal.h \
- lov_dev.c \
- lov_ea.c \
- lov_io.c \
- lov_lock.c \
- lov_merge.c \
- lov_obd.c \
- lov_object.c \
- lov_offset.c \
- lov_pack.c \
- lov_page.c \
- lov_pool.c \
- lov_request.c \
- lovsub_dev.c \
- lovsub_io.c \
- lovsub_lock.c \
- lovsub_object.c \
- lovsub_page.c
-
-liblov_a_CPPFLAGS = $(LLCPPFLAGS)
-liblov_a_CFLAGS = $(LLCFLAGS)
-endif
-
if MODULES
-if LINUX
modulefs_DATA = lov$(KMODEXT)
-endif
-
-if DARWIN
-macos_PROGRAMS = lov
-
-lov_SOURCES = \
- lov_pool.c \
- lov_obd.c \
- lov_pack.c \
- lov_request.c \
- lov_merge.c \
- lov_dev.c \
- lov_object.c \
- lov_page.c \
- lov_lock.c \
- lov_io.c \
- lovsub_dev.c \
- lovsub_object.c \
- lovsub_page.c \
- lovsub_lock.c \
- lovsub_io.c \
- lov_offset.c \
- lov_internal.h
-
-lov_CFLAGS := $(EXTRA_KCFLAGS)
-lov_LDFLAGS := $(EXTRA_KLDFLAGS)
-lov_LDADD := $(EXTRA_KLIBS)
-
-plist_DATA = Info.plist
-
-install_data_hook = fix-kext-ownership
-
-endif # DARWIN
-
endif # MODULES
install-data-hook: $(install_data_hook)
#ifndef LOV_CL_INTERNAL_H
#define LOV_CL_INTERNAL_H
-#ifdef __KERNEL__
-# include <libcfs/libcfs.h>
-#else
-# include <liblustre.h>
-#endif
-
+#include <libcfs/libcfs.h>
#include <obd.h>
#include <cl_object.h>
#include "lov_internal.h"
#define DEBUG_SUBSYSTEM S_LOV
-#ifdef __KERNEL__
#include <linux/math64.h>
#include <libcfs/libcfs.h>
-#else
-#include <liblustre.h>
-#endif
#include <obd_class.h>
#include <lustre/lustre_idl.h>
#define DEBUG_SUBSYSTEM S_LOV
-#ifdef __KERNEL__
#include <libcfs/libcfs.h>
-#else
-#include <liblustre.h>
-#endif
#include <obd_class.h>
#include "lov_internal.h"
int rc = 0;
assert_spin_locked(&lsm->lsm_lock);
-#ifdef __KERNEL__
LASSERT(lsm->lsm_lock_owner == current_pid());
-#endif
CDEBUG(D_INODE, "MDT ID "DOSTID" initial value: s="LPU64" m="LPU64
" a="LPU64" c="LPU64" b="LPU64"\n", POSTID(&lsm->lsm_oi),
*/
#define DEBUG_SUBSYSTEM S_LOV
-#ifdef __KERNEL__
#include <libcfs/libcfs.h>
-#else
-#include <liblustre.h>
-#endif
#include <obd_support.h>
#include <lustre_ioctl.h>
RETURN(rc);
}
-#ifdef __KERNEL__
static void /*__exit*/ lov_exit(void)
{
class_unregister_type(LUSTRE_LOV_NAME);
MODULE_LICENSE("GPL");
cfs_module(lov, LUSTRE_VERSION_STRING, lov_init, lov_exit);
-#endif
#define DEBUG_SUBSYSTEM S_LOV
-#ifdef __KERNEL__
#include <libcfs/libcfs.h>
-#else
-#include <liblustre.h>
-#endif
#include <obd_class.h>
*/
#define DEBUG_SUBSYSTEM S_LOV
-#ifndef __KERNEL__
-#include <liblustre.h>
-#endif
#include <lustre_net.h>
#include <obd.h>
#define DEBUG_SUBSYSTEM S_LOV
-#ifdef __KERNEL__
#include <libcfs/libcfs.h>
-#else
-#include <liblustre.h>
-#endif
#include <obd.h>
#include "lov_internal.h"
#define DEBUG_SUBSYSTEM S_LOV
-#ifdef __KERNEL__
#include <libcfs/libcfs.h>
-#else
-#include <liblustre.h>
-#endif
#include <obd_class.h>
#include <lustre/lustre_idl.h>