summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2019-06-28 22:27:34 -0400
committerDarrick J. Wong <darrick.wong@oracle.com>2019-06-28 22:27:34 -0400
commit95cf0e4a0ddc59f17eacfb4d06e0950ea5f624ca (patch)
tree394633cc9e3b5876ac014561f01acd04ba515f61
parent89ae379d564c5d8ed7fcf95ac21c7276811749eb (diff)
xfs: remove a pointless comment duplicated above all xfs_item_ops instances
Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Brian Foster <bfoster@redhat.com> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
-rw-r--r--fs/xfs/xfs_bmap_item.c6
-rw-r--r--fs/xfs/xfs_buf_item.c3
-rw-r--r--fs/xfs/xfs_dquot_item.c6
-rw-r--r--fs/xfs/xfs_extfree_item.c6
-rw-r--r--fs/xfs/xfs_icreate_item.c3
-rw-r--r--fs/xfs/xfs_inode_item.c3
-rw-r--r--fs/xfs/xfs_refcount_item.c6
-rw-r--r--fs/xfs/xfs_rmap_item.c6
8 files changed, 0 insertions, 39 deletions
diff --git a/fs/xfs/xfs_bmap_item.c b/fs/xfs/xfs_bmap_item.c
index 6c3c03770b3f..e99b82e592a5 100644
--- a/fs/xfs/xfs_bmap_item.c
+++ b/fs/xfs/xfs_bmap_item.c
@@ -126,9 +126,6 @@ xfs_bui_item_release(
126 xfs_bui_release(BUI_ITEM(lip)); 126 xfs_bui_release(BUI_ITEM(lip));
127} 127}
128 128
129/*
130 * This is the ops vector shared by all bui log items.
131 */
132static const struct xfs_item_ops xfs_bui_item_ops = { 129static const struct xfs_item_ops xfs_bui_item_ops = {
133 .iop_size = xfs_bui_item_size, 130 .iop_size = xfs_bui_item_size,
134 .iop_format = xfs_bui_item_format, 131 .iop_format = xfs_bui_item_format,
@@ -209,9 +206,6 @@ xfs_bud_item_release(
209 kmem_zone_free(xfs_bud_zone, budp); 206 kmem_zone_free(xfs_bud_zone, budp);
210} 207}
211 208
212/*
213 * This is the ops vector shared by all bud log items.
214 */
215static const struct xfs_item_ops xfs_bud_item_ops = { 209static const struct xfs_item_ops xfs_bud_item_ops = {
216 .flags = XFS_ITEM_RELEASE_WHEN_COMMITTED, 210 .flags = XFS_ITEM_RELEASE_WHEN_COMMITTED,
217 .iop_size = xfs_bud_item_size, 211 .iop_size = xfs_bud_item_size,
diff --git a/fs/xfs/xfs_buf_item.c b/fs/xfs/xfs_buf_item.c
index cfe2ac0ad468..b06d92ee94ff 100644
--- a/fs/xfs/xfs_buf_item.c
+++ b/fs/xfs/xfs_buf_item.c
@@ -680,9 +680,6 @@ xfs_buf_item_committed(
680 return lsn; 680 return lsn;
681} 681}
682 682
683/*
684 * This is the ops vector shared by all buf log items.
685 */
686static const struct xfs_item_ops xfs_buf_item_ops = { 683static const struct xfs_item_ops xfs_buf_item_ops = {
687 .iop_size = xfs_buf_item_size, 684 .iop_size = xfs_buf_item_size,
688 .iop_format = xfs_buf_item_format, 685 .iop_format = xfs_buf_item_format,
diff --git a/fs/xfs/xfs_dquot_item.c b/fs/xfs/xfs_dquot_item.c
index 334f6ca1cefc..cda11cbe6192 100644
--- a/fs/xfs/xfs_dquot_item.c
+++ b/fs/xfs/xfs_dquot_item.c
@@ -223,9 +223,6 @@ xfs_qm_dquot_logitem_committing(
223 return xfs_qm_dquot_logitem_release(lip); 223 return xfs_qm_dquot_logitem_release(lip);
224} 224}
225 225
226/*
227 * This is the ops vector for dquots
228 */
229static const struct xfs_item_ops xfs_dquot_item_ops = { 226static const struct xfs_item_ops xfs_dquot_item_ops = {
230 .iop_size = xfs_qm_dquot_logitem_size, 227 .iop_size = xfs_qm_dquot_logitem_size,
231 .iop_format = xfs_qm_dquot_logitem_format, 228 .iop_format = xfs_qm_dquot_logitem_format,
@@ -334,9 +331,6 @@ static const struct xfs_item_ops xfs_qm_qoffend_logitem_ops = {
334 .iop_push = xfs_qm_qoff_logitem_push, 331 .iop_push = xfs_qm_qoff_logitem_push,
335}; 332};
336 333
337/*
338 * This is the ops vector shared by all quotaoff-start log items.
339 */
340static const struct xfs_item_ops xfs_qm_qoff_logitem_ops = { 334static const struct xfs_item_ops xfs_qm_qoff_logitem_ops = {
341 .iop_size = xfs_qm_qoff_logitem_size, 335 .iop_size = xfs_qm_qoff_logitem_size,
342 .iop_format = xfs_qm_qoff_logitem_format, 336 .iop_format = xfs_qm_qoff_logitem_format,
diff --git a/fs/xfs/xfs_extfree_item.c b/fs/xfs/xfs_extfree_item.c
index 811923231bb7..2c379947715d 100644
--- a/fs/xfs/xfs_extfree_item.c
+++ b/fs/xfs/xfs_extfree_item.c
@@ -136,9 +136,6 @@ xfs_efi_item_release(
136 xfs_efi_release(EFI_ITEM(lip)); 136 xfs_efi_release(EFI_ITEM(lip));
137} 137}
138 138
139/*
140 * This is the ops vector shared by all efi log items.
141 */
142static const struct xfs_item_ops xfs_efi_item_ops = { 139static const struct xfs_item_ops xfs_efi_item_ops = {
143 .iop_size = xfs_efi_item_size, 140 .iop_size = xfs_efi_item_size,
144 .iop_format = xfs_efi_item_format, 141 .iop_format = xfs_efi_item_format,
@@ -308,9 +305,6 @@ xfs_efd_item_release(
308 xfs_efd_item_free(efdp); 305 xfs_efd_item_free(efdp);
309} 306}
310 307
311/*
312 * This is the ops vector shared by all efd log items.
313 */
314static const struct xfs_item_ops xfs_efd_item_ops = { 308static const struct xfs_item_ops xfs_efd_item_ops = {
315 .flags = XFS_ITEM_RELEASE_WHEN_COMMITTED, 309 .flags = XFS_ITEM_RELEASE_WHEN_COMMITTED,
316 .iop_size = xfs_efd_item_size, 310 .iop_size = xfs_efd_item_size,
diff --git a/fs/xfs/xfs_icreate_item.c b/fs/xfs/xfs_icreate_item.c
index ac9918da5f4a..c0376135889d 100644
--- a/fs/xfs/xfs_icreate_item.c
+++ b/fs/xfs/xfs_icreate_item.c
@@ -63,9 +63,6 @@ xfs_icreate_item_release(
63 kmem_zone_free(xfs_icreate_zone, ICR_ITEM(lip)); 63 kmem_zone_free(xfs_icreate_zone, ICR_ITEM(lip));
64} 64}
65 65
66/*
67 * This is the ops vector shared by all buf log items.
68 */
69static const struct xfs_item_ops xfs_icreate_item_ops = { 66static const struct xfs_item_ops xfs_icreate_item_ops = {
70 .flags = XFS_ITEM_RELEASE_WHEN_COMMITTED, 67 .flags = XFS_ITEM_RELEASE_WHEN_COMMITTED,
71 .iop_size = xfs_icreate_item_size, 68 .iop_size = xfs_icreate_item_size,
diff --git a/fs/xfs/xfs_inode_item.c b/fs/xfs/xfs_inode_item.c
index e152b3bb3272..78c571ce8301 100644
--- a/fs/xfs/xfs_inode_item.c
+++ b/fs/xfs/xfs_inode_item.c
@@ -628,9 +628,6 @@ xfs_inode_item_committing(
628 return xfs_inode_item_release(lip); 628 return xfs_inode_item_release(lip);
629} 629}
630 630
631/*
632 * This is the ops vector shared by all buf log items.
633 */
634static const struct xfs_item_ops xfs_inode_item_ops = { 631static const struct xfs_item_ops xfs_inode_item_ops = {
635 .iop_size = xfs_inode_item_size, 632 .iop_size = xfs_inode_item_size,
636 .iop_format = xfs_inode_item_format, 633 .iop_format = xfs_inode_item_format,
diff --git a/fs/xfs/xfs_refcount_item.c b/fs/xfs/xfs_refcount_item.c
index 5b03478c5d1f..a4a2296546b6 100644
--- a/fs/xfs/xfs_refcount_item.c
+++ b/fs/xfs/xfs_refcount_item.c
@@ -124,9 +124,6 @@ xfs_cui_item_release(
124 xfs_cui_release(CUI_ITEM(lip)); 124 xfs_cui_release(CUI_ITEM(lip));
125} 125}
126 126
127/*
128 * This is the ops vector shared by all cui log items.
129 */
130static const struct xfs_item_ops xfs_cui_item_ops = { 127static const struct xfs_item_ops xfs_cui_item_ops = {
131 .iop_size = xfs_cui_item_size, 128 .iop_size = xfs_cui_item_size,
132 .iop_format = xfs_cui_item_format, 129 .iop_format = xfs_cui_item_format,
@@ -213,9 +210,6 @@ xfs_cud_item_release(
213 kmem_zone_free(xfs_cud_zone, cudp); 210 kmem_zone_free(xfs_cud_zone, cudp);
214} 211}
215 212
216/*
217 * This is the ops vector shared by all cud log items.
218 */
219static const struct xfs_item_ops xfs_cud_item_ops = { 213static const struct xfs_item_ops xfs_cud_item_ops = {
220 .flags = XFS_ITEM_RELEASE_WHEN_COMMITTED, 214 .flags = XFS_ITEM_RELEASE_WHEN_COMMITTED,
221 .iop_size = xfs_cud_item_size, 215 .iop_size = xfs_cud_item_size,
diff --git a/fs/xfs/xfs_rmap_item.c b/fs/xfs/xfs_rmap_item.c
index 3fbc7c5ffa96..c2f6acdc593d 100644
--- a/fs/xfs/xfs_rmap_item.c
+++ b/fs/xfs/xfs_rmap_item.c
@@ -123,9 +123,6 @@ xfs_rui_item_release(
123 xfs_rui_release(RUI_ITEM(lip)); 123 xfs_rui_release(RUI_ITEM(lip));
124} 124}
125 125
126/*
127 * This is the ops vector shared by all rui log items.
128 */
129static const struct xfs_item_ops xfs_rui_item_ops = { 126static const struct xfs_item_ops xfs_rui_item_ops = {
130 .iop_size = xfs_rui_item_size, 127 .iop_size = xfs_rui_item_size,
131 .iop_format = xfs_rui_item_format, 128 .iop_format = xfs_rui_item_format,
@@ -234,9 +231,6 @@ xfs_rud_item_release(
234 kmem_zone_free(xfs_rud_zone, rudp); 231 kmem_zone_free(xfs_rud_zone, rudp);
235} 232}
236 233
237/*
238 * This is the ops vector shared by all rud log items.
239 */
240static const struct xfs_item_ops xfs_rud_item_ops = { 234static const struct xfs_item_ops xfs_rud_item_ops = {
241 .flags = XFS_ITEM_RELEASE_WHEN_COMMITTED, 235 .flags = XFS_ITEM_RELEASE_WHEN_COMMITTED,
242 .iop_size = xfs_rud_item_size, 236 .iop_size = xfs_rud_item_size,