From mboxrd@z Thu Jan 1 00:00:00 1970 From: Abhijith Das Date: Wed, 20 Jul 2011 16:10:46 -0400 (EDT) Subject: [Cluster-devel] [PATCH] mount.gfs2 - gfs2 mounts doubled up in mtab In-Reply-To: <201524563.167642.1311192642732.JavaMail.root@zmail05.collab.prod.int.phx2.redhat.com> Message-ID: <280913532.167648.1311192646977.JavaMail.root@zmail05.collab.prod.int.phx2.redhat.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit When the -o remount option is used with mount.gfs2 it fails to remove the original mtab entry because it can't find it. Instead it simply adds the mount entry corresponding to the remount, thereby doubling the entries in mtab. This patch corrects the logic to find the mtab entry so mount.gfs2 finds and removes the original entry correctly before add the the remount entry. Signed-off-by: Abhi Das -------------- next part -------------- A non-text attachment was scrubbed... Name: bz706141-upstream.patch Type: text/x-patch Size: 1143 bytes Desc: not available URL: