From 9189418db9e50fa20c31ac5c7c5b6aaa16a9fa1e Mon Sep 17 00:00:00 2001 From: Shehjar Tikoo Date: Tue, 19 May 2009 17:56:47 +0530 Subject: booster: Do not read info for non-glusterfs mount points Signed-off-by: Anand V. Avati --- booster/src/booster.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'booster') diff --git a/booster/src/booster.c b/booster/src/booster.c index 5842058bbb3..9e5300ee459 100644 --- a/booster/src/booster.c +++ b/booster/src/booster.c @@ -300,6 +300,9 @@ booster_mount (struct glusterfs_mntent *ent) if (!ent) return; + if ((strcmp (ent->mnt_type, "glusterfs") != 0)) + return; + memset (&ipars, 0, sizeof (glusterfs_init_params_t)); if (ent->mnt_fsname) ipars.specfile = strdup (ent->mnt_fsname); -- cgit