diff options
author | Bob Peterson <rpeterso@redhat.com> | 2013-05-21 10:54:04 -0400 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2013-06-05 09:50:40 +0100 |
commit | cd51e61eac87c3e4819b54e85d536d2e643fb0ec (patch) | |
tree | f0a5cf60dc26f644b0f33549cbcde32dd1733884 /fs/gfs2/lops.c | |
parent | 7f63257da1aeea9b2ee68f469b0f9f4a39e5dff8 (diff) | |
download | linux-rpi-cd51e61eac87c3e4819b54e85d536d2e643fb0ec.tar.gz linux-rpi-cd51e61eac87c3e4819b54e85d536d2e643fb0ec.tar.bz2 linux-rpi-cd51e61eac87c3e4819b54e85d536d2e643fb0ec.zip |
GFS2: Eliminate gfs2_rg_lops
With recent changes to the transactions, it appears that we
are no longer using the "log ops" for resource groups. Since the
log commit code processes the array of log ops, eliminating this
should be marginally better for performance. Therefore this patch
eliminates it.
Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/lops.c')
-rw-r--r-- | fs/gfs2/lops.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/fs/gfs2/lops.c b/fs/gfs2/lops.c index cb017a692fe6..33f18b7282b2 100644 --- a/fs/gfs2/lops.c +++ b/fs/gfs2/lops.c @@ -852,10 +852,6 @@ const struct gfs2_log_operations gfs2_revoke_lops = { .lo_name = "revoke", }; -const struct gfs2_log_operations gfs2_rg_lops = { - .lo_name = "rg", -}; - const struct gfs2_log_operations gfs2_databuf_lops = { .lo_before_commit = databuf_lo_before_commit, .lo_after_commit = databuf_lo_after_commit, @@ -867,7 +863,6 @@ const struct gfs2_log_operations gfs2_databuf_lops = { const struct gfs2_log_operations *gfs2_log_ops[] = { &gfs2_databuf_lops, &gfs2_buf_lops, - &gfs2_rg_lops, &gfs2_revoke_lops, NULL, }; |