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>
Wed, 23 Jul 2014 16:49:37 +0000 (10:49 -0600)
commit7d9101339662fe8cad750d910efda6c5280af787
tree56d77ca60bbea7c6f5359f79cca72932de9bfa30
parente69afc3d579bbc8b487d7d93ae46731349264d64
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