> /* > * Get and lock the buffer for the caller if it is not already > * locked within the given transaction. If it has not yet been > @@ -255,46 +248,11 @@ xfs_trans_read_buf_map( > struct xfs_buf **bpp, > const struct xfs_buf_ops *ops) > { > - xfs_buf_t *bp; > - xfs_buf_log_item_t *bip; > + struct xfs_buf *bp = NULL; > + struct xfs_buf_log_item *bip; > int error; > > *bpp = NULL; > + /* > + * If we've had a read error, then the contents of the buffer are > + * invalid and shoul dnot be used. To ensure that a followup read tries should not Otherwise looks fine, Reviewed-by: Christoph Hellwig <hch@xxxxxx> _______________________________________________ xfs mailing list xfs@xxxxxxxxxxx http://oss.sgi.com/mailman/listinfo/xfs