[GFS2] Fix end of multi-line structures
As per Jan Engelhardt's request, I've added a ',' to the end of
each of the multi-line structures which didn't already have
one (most already did).
Cc: Jan Engelhardt <jengelh@linux01.gwdg.de>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
diff --git a/fs/gfs2/glops.c b/fs/gfs2/glops.c
index d3e7b08..0c50a72 100644
--- a/fs/gfs2/glops.c
+++ b/fs/gfs2/glops.c
@@ -492,7 +492,7 @@
const struct gfs2_glock_operations gfs2_meta_glops = {
.go_xmote_th = gfs2_glock_xmote_th,
.go_drop_th = gfs2_glock_drop_th,
- .go_type = LM_TYPE_META
+ .go_type = LM_TYPE_META,
};
const struct gfs2_glock_operations gfs2_inode_glops = {
@@ -505,7 +505,7 @@
.go_lock = inode_go_lock,
.go_unlock = inode_go_unlock,
.go_greedy = inode_greedy,
- .go_type = LM_TYPE_INODE
+ .go_type = LM_TYPE_INODE,
};
const struct gfs2_glock_operations gfs2_rgrp_glops = {
@@ -516,45 +516,45 @@
.go_demote_ok = rgrp_go_demote_ok,
.go_lock = rgrp_go_lock,
.go_unlock = rgrp_go_unlock,
- .go_type = LM_TYPE_RGRP
+ .go_type = LM_TYPE_RGRP,
};
const struct gfs2_glock_operations gfs2_trans_glops = {
.go_xmote_th = trans_go_xmote_th,
.go_xmote_bh = trans_go_xmote_bh,
.go_drop_th = trans_go_drop_th,
- .go_type = LM_TYPE_NONDISK
+ .go_type = LM_TYPE_NONDISK,
};
const struct gfs2_glock_operations gfs2_iopen_glops = {
.go_xmote_th = gfs2_glock_xmote_th,
.go_drop_th = gfs2_glock_drop_th,
.go_callback = gfs2_iopen_go_callback,
- .go_type = LM_TYPE_IOPEN
+ .go_type = LM_TYPE_IOPEN,
};
const struct gfs2_glock_operations gfs2_flock_glops = {
.go_xmote_th = gfs2_glock_xmote_th,
.go_drop_th = gfs2_glock_drop_th,
- .go_type = LM_TYPE_FLOCK
+ .go_type = LM_TYPE_FLOCK,
};
const struct gfs2_glock_operations gfs2_nondisk_glops = {
.go_xmote_th = gfs2_glock_xmote_th,
.go_drop_th = gfs2_glock_drop_th,
- .go_type = LM_TYPE_NONDISK
+ .go_type = LM_TYPE_NONDISK,
};
const struct gfs2_glock_operations gfs2_quota_glops = {
.go_xmote_th = gfs2_glock_xmote_th,
.go_drop_th = gfs2_glock_drop_th,
.go_demote_ok = quota_go_demote_ok,
- .go_type = LM_TYPE_QUOTA
+ .go_type = LM_TYPE_QUOTA,
};
const struct gfs2_glock_operations gfs2_journal_glops = {
.go_xmote_th = gfs2_glock_xmote_th,
.go_drop_th = gfs2_glock_drop_th,
- .go_type = LM_TYPE_JOURNAL
+ .go_type = LM_TYPE_JOURNAL,
};
diff --git a/fs/gfs2/lops.c b/fs/gfs2/lops.c
index 5898d6d..07655a7 100644
--- a/fs/gfs2/lops.c
+++ b/fs/gfs2/lops.c
@@ -760,7 +760,7 @@
const struct gfs2_log_operations gfs2_glock_lops = {
.lo_add = glock_lo_add,
.lo_after_commit = glock_lo_after_commit,
- .lo_name = "glock"
+ .lo_name = "glock",
};
const struct gfs2_log_operations gfs2_buf_lops = {
@@ -771,7 +771,7 @@
.lo_before_scan = buf_lo_before_scan,
.lo_scan_elements = buf_lo_scan_elements,
.lo_after_scan = buf_lo_after_scan,
- .lo_name = "buf"
+ .lo_name = "buf",
};
const struct gfs2_log_operations gfs2_revoke_lops = {
@@ -780,13 +780,13 @@
.lo_before_scan = revoke_lo_before_scan,
.lo_scan_elements = revoke_lo_scan_elements,
.lo_after_scan = revoke_lo_after_scan,
- .lo_name = "revoke"
+ .lo_name = "revoke",
};
const struct gfs2_log_operations gfs2_rg_lops = {
.lo_add = rg_lo_add,
.lo_after_commit = rg_lo_after_commit,
- .lo_name = "rg"
+ .lo_name = "rg",
};
const struct gfs2_log_operations gfs2_databuf_lops = {
@@ -796,7 +796,7 @@
.lo_after_commit = databuf_lo_after_commit,
.lo_scan_elements = databuf_lo_scan_elements,
.lo_after_scan = databuf_lo_after_scan,
- .lo_name = "databuf"
+ .lo_name = "databuf",
};
const struct gfs2_log_operations *gfs2_log_ops[] = {
@@ -805,6 +805,6 @@
&gfs2_revoke_lops,
&gfs2_rg_lops,
&gfs2_databuf_lops,
- NULL
+ NULL,
};
diff --git a/fs/gfs2/sys.c b/fs/gfs2/sys.c
index 8aefda2..7a282a4 100644
--- a/fs/gfs2/sys.c
+++ b/fs/gfs2/sys.c
@@ -253,7 +253,7 @@
&lockstruct_attr_first.attr,
&lockstruct_attr_lvb_size.attr,
&lockstruct_attr_flags.attr,
- NULL
+ NULL,
};
/*
@@ -310,7 +310,7 @@
&args_attr_suiddir.attr,
&args_attr_data.attr,
&args_attr_noatime.attr,
- NULL
+ NULL,
};
/*
@@ -339,7 +339,7 @@
&counters_attr_glock_held_count.attr,
&counters_attr_inode_count.attr,
&counters_attr_reclaimed.attr,
- NULL
+ NULL,
};
/*
@@ -487,27 +487,27 @@
&tune_attr_quota_scale.attr,
&tune_attr_new_files_jdata.attr,
&tune_attr_new_files_directio.attr,
- NULL
+ NULL,
};
static struct attribute_group lockstruct_group = {
.name = "lockstruct",
- .attrs = lockstruct_attrs
+ .attrs = lockstruct_attrs,
};
static struct attribute_group counters_group = {
.name = "counters",
- .attrs = counters_attrs
+ .attrs = counters_attrs,
};
static struct attribute_group args_group = {
.name = "args",
- .attrs = args_attrs
+ .attrs = args_attrs,
};
static struct attribute_group tune_group = {
.name = "tune",
- .attrs = tune_attrs
+ .attrs = tune_attrs,
};
int gfs2_sys_fs_add(struct gfs2_sbd *sdp)