GFS2: Add online uevent to GFS2
authorSteven Whitehouse <swhiteho@redhat.com>
Fri, 31 Jul 2009 10:07:29 +0000 (11:07 +0100)
committerSteven Whitehouse <swhiteho@redhat.com>
Mon, 17 Aug 2009 10:04:42 +0000 (11:04 +0100)
commit8633ecfaba4ce53c094f8db92dbd7ac474a7aa36
treebadd46586f0d33184e42e3091f510c21f063d7de
parent894ef820b10d77e2d6d717342fc408bdd9825139
GFS2: Add online uevent to GFS2

We already have an offline uevent (used when a withdraw occurs)
but no online uevent. This adds an online uevent so that userspace
will be able to detect a successful mount by means other than
not receiving a remove event after the add & recovery (change)
uevents.

It has also been added to the remount path as well - we can't use
a change uevent there as older GFS2 userspace acts on change uevents
according to the state that it thinks the fs is in, so we can't
easily add any new ones.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/ops_fstype.c
fs/gfs2/super.c
fs/gfs2/super.h