From 8e9bef16206c064cda8c25d6f7c1d3a0ee882959 Mon Sep 17 00:00:00 2001 From: Nathan Scott Date: Thu, 12 Jul 2001 01:03:25 +0000 Subject: [PATCH] allow us to link with libefence for qa runs again. --- include/buildrules | 2 +- libdisk/xvm.c | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/include/buildrules b/include/buildrules index 11b192271..ce87ad972 100644 --- a/include/buildrules +++ b/include/buildrules @@ -49,7 +49,7 @@ endif ifdef LTLIBRARY $(LTLIBRARY) : $(SUBDIRS) $(LTOBJECTS) - $(LTLINK) $(LDFLAGS) $(LTLDFLAGS) -o $(LTLIBRARY) $(LTOBJECTS) $(LDLIBS) + $(LTLINK) $(LTLDFLAGS) -o $(LTLIBRARY) $(LTOBJECTS) %.lo: %.c $(LTCOMPILE) -c $< diff --git a/libdisk/xvm.c b/libdisk/xvm.c index f1edc3395..6891811f4 100644 --- a/libdisk/xvm.c +++ b/libdisk/xvm.c @@ -62,6 +62,10 @@ xvm_get_subvol_stripe( int *swidth, struct stat64 *sb) { + if (!mnt_is_xvm_subvol(sb->st_dev)) + return 0; + /* TODO - DeanJ? - for now, always return false */ - return 1; + + return 0; } -- 2.47.2