GFS2: Add some more info to uevents
authorSteven Whitehouse <swhiteho@redhat.com>
Fri, 31 Jul 2009 11:16:25 +0000 (12:16 +0100)
committerSteven Whitehouse <swhiteho@redhat.com>
Mon, 17 Aug 2009 10:05:00 +0000 (11:05 +0100)
commit440d6da207e9eef2b576331cfedd5ecae9068663
tree307bd414e11a37a3bc2b198f2aafa7c9325da1ab
parent8633ecfaba4ce53c094f8db92dbd7ac474a7aa36
GFS2: Add some more info to uevents

With each uevent, we now always include the journal ID. We
can't call it JID since that is already in use by some of
the individual events relating to recovery, so we use
JOURNALID instead. We don't send the JOURNALID for spectator
mounts, since there isn't one.

Also the ADD event now has both RDONLY and SPECTATOR information
to match that of the ONLINE event.

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