Whamcloud - gitweb
LU-1833 util: don't update mtab if linked to /proc
authorShuichi Ihara <sihara@ddn.com>
Mon, 10 Dec 2012 16:58:50 +0000 (01:58 +0900)
committerOleg Drokin <green@whamcloud.com>
Tue, 11 Dec 2012 23:33:10 +0000 (18:33 -0500)
commitbf0ffcea349000d99b006ca8b0aef98cc2a9a010
treeeba2e4b33048381754655438834dd6f721a3c569
parent8765a54e05da92bc706352085f7f849ab5ce033b
LU-1833 util: don't update mtab if linked to /proc

Backport patch of LU-1833 for b2_1.
This is needed for the diskless environment since their
mtab is linking to /proc/mount.

Signed-off-by: Shuichi Ihara <sihara@ddn.com>
Signed-off-by: Peng Tao <tao.peng@emc.com>
Change-Id: Id18cd6a820dff905f0d61ecc1f71f4ce7b48cf77
Reviewed-on: http://review.whamcloud.com/4785
Tested-by: Hudson
Reviewed-by: Peng Tao <bergwolf@gmail.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
lustre/utils/mount_lustre.c