diff options
author | Shehjar Tikoo <shehjart@gluster.com> | 2009-05-19 17:56:47 +0530 |
---|---|---|
committer | Anand V. Avati <avati@amp.gluster.com> | 2009-05-19 21:08:36 +0530 |
commit | 9189418db9e50fa20c31ac5c7c5b6aaa16a9fa1e (patch) | |
tree | 66ff6fb2b23e6a12cc1c35e66919c837899d84b1 | |
parent | c5b90f75951faddf55c61f2fe57f1c26070a63b6 (diff) |
booster: Do not read info for non-glusterfs mount points
Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
-rw-r--r-- | booster/src/booster.c | 3 |
1 files changed, 3 insertions, 0 deletions
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); |