diff options
author | Christoph Hellwig <hch@infradead.org> | 2011-12-07 01:58:09 +0400 |
---|---|---|
committer | Ben Myers <bpm@sgi.com> | 2011-12-08 23:53:30 +0400 |
commit | b39342134a6ec72778ffc2ddbd3c0faa10c64676 (patch) | |
tree | fc95ebf3b6ef32c80b907d7ea9af6112b4e520ff /fs/xfs/xfs_inode_item.c | |
parent | 0244b9603df38bf19155b761689e1a816fc50b0a (diff) | |
download | linux-b39342134a6ec72778ffc2ddbd3c0faa10c64676.tar.xz |
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( * Assert that no attribute-related log flags are set. */ if (!XFS_IFORK_Q(ip)) { - ASSERT(nvecs == lip->li_desc->lid_size); iip->ili_format.ilf_size = nvecs; ASSERT(!(iip->ili_format.ilf_fields & (XFS_ILOG_ADATA | XFS_ILOG_ABROOT | XFS_ILOG_AEXT))); @@ -521,7 +520,6 @@ xfs_inode_item_format( break; } - ASSERT(nvecs == lip->li_desc->lid_size); iip->ili_format.ilf_size = nvecs; } |