aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/super.c
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2009-07-31 06:07:29 -0400
committerSteven Whitehouse <swhiteho@redhat.com>2009-08-17 06:04:42 -0400
commit8633ecfaba4ce53c094f8db92dbd7ac474a7aa36 (patch)
treebadd46586f0d33184e42e3091f510c21f063d7de /fs/gfs2/super.c
parent894ef820b10d77e2d6d717342fc408bdd9825139 (diff)
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>
Diffstat (limited to 'fs/gfs2/super.c')
-rw-r--r--fs/gfs2/super.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/gfs2/super.c b/fs/gfs2/super.c
index f522bb017973..85bd2bc8c1de 100644
--- a/fs/gfs2/super.c
+++ b/fs/gfs2/super.c
@@ -1084,6 +1084,7 @@ static int gfs2_remount_fs(struct super_block *sb, int *flags, char *data)
1084 gt->gt_log_flush_secs = args.ar_commit; 1084 gt->gt_log_flush_secs = args.ar_commit;
1085 spin_unlock(&gt->gt_spin); 1085 spin_unlock(&gt->gt_spin);
1086 1086
1087 gfs2_online_uevent(sdp);
1087 return 0; 1088 return 0;
1088} 1089}
1089 1090