diff options
author | Christoph Hellwig <hch@infradead.org> | 2011-12-06 16:58:09 -0500 |
---|---|---|
committer | Ben Myers <bpm@sgi.com> | 2011-12-08 14:53:30 -0500 |
commit | b39342134a6ec72778ffc2ddbd3c0faa10c64676 (patch) | |
tree | fc95ebf3b6ef32c80b907d7ea9af6112b4e520ff /fs/xfs/xfs_inode_item.c | |
parent | 0244b9603df38bf19155b761689e1a816fc50b0a (diff) |
xfs: remove the lid_size field in struct log_item_desc
Outside the now removed nodelaylog code this field is only used for
asserts and can be safely removed now.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_inode_item.c')
-rw-r--r-- | fs/xfs/xfs_inode_item.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/xfs/xfs_inode_item.c b/fs/xfs/xfs_inode_item.c index abaafdbb3e65..cfd6c7f8cc3c 100644 --- a/fs/xfs/xfs_inode_item.c +++ b/fs/xfs/xfs_inode_item.c | |||
@@ -437,7 +437,6 @@ xfs_inode_item_format( | |||
437 | * Assert that no attribute-related log flags are set. | 437 | * Assert that no attribute-related log flags are set. |
438 | */ | 438 | */ |
439 | if (!XFS_IFORK_Q(ip)) { | 439 | if (!XFS_IFORK_Q(ip)) { |
440 | ASSERT(nvecs == lip->li_desc->lid_size); | ||
441 | iip->ili_format.ilf_size = nvecs; | 440 | iip->ili_format.ilf_size = nvecs; |
442 | ASSERT(!(iip->ili_format.ilf_fields & | 441 | ASSERT(!(iip->ili_format.ilf_fields & |
443 | (XFS_ILOG_ADATA | XFS_ILOG_ABROOT | XFS_ILOG_AEXT))); | 442 | (XFS_ILOG_ADATA | XFS_ILOG_ABROOT | XFS_ILOG_AEXT))); |
@@ -521,7 +520,6 @@ xfs_inode_item_format( | |||
521 | break; | 520 | break; |
522 | } | 521 | } |
523 | 522 | ||
524 | ASSERT(nvecs == lip->li_desc->lid_size); | ||
525 | iip->ili_format.ilf_size = nvecs; | 523 | iip->ili_format.ilf_size = nvecs; |
526 | } | 524 | } |
527 | 525 | ||