Whamcloud - gitweb
ext2fs: check if Lustre filesystem is mounted
authorAndreas Dilger <andreas.dilger@intel.com>
Fri, 13 Apr 2012 08:16:24 +0000 (02:16 -0600)
committerAndreas Dilger <andreas.dilger@intel.com>
Fri, 12 Sep 2014 09:13:46 +0000 (03:13 -0600)
commitefb735da662692b018b1a3f16ee8988723bca5d0
treeb52b975d72b4c93d55644a2ad6933f3735d34f8d
parente81ef5d61dfa74082fc0d2d60c62b46e5ad64f5c
ext2fs: check if Lustre filesystem is mounted

Add a check to ext2fs_check_mount_point() to loo in /proc/fs/lustre/*
to see if Lustre is mounted, since st_rdev of the mountpoint does not
match st_rdev of the block device itself, which confuses libext2fs.

Signed-off-by: Andreas Dilger <andreas.dilger@intel.com>
lib/ext2fs/ismounted.c