|
@@ -319,6 +319,10 @@ xfs_buf_item_format(
|
|
ASSERT(atomic_read(&bip->bli_refcount) > 0);
|
|
ASSERT(atomic_read(&bip->bli_refcount) > 0);
|
|
ASSERT((bip->bli_flags & XFS_BLI_LOGGED) ||
|
|
ASSERT((bip->bli_flags & XFS_BLI_LOGGED) ||
|
|
(bip->bli_flags & XFS_BLI_STALE));
|
|
(bip->bli_flags & XFS_BLI_STALE));
|
|
|
|
+ ASSERT((bip->bli_flags & XFS_BLI_STALE) ||
|
|
|
|
+ (xfs_blft_from_flags(&bip->__bli_format) > XFS_BLFT_UNKNOWN_BUF
|
|
|
|
+ && xfs_blft_from_flags(&bip->__bli_format) < XFS_BLFT_MAX_BUF));
|
|
|
|
+
|
|
|
|
|
|
/*
|
|
/*
|
|
* If it is an inode buffer, transfer the in-memory state to the
|
|
* If it is an inode buffer, transfer the in-memory state to the
|