xfs
[Top] [All Lists]

[PATCH 0/2] Check return value of xfs_buf_read()

To: xfs@xxxxxxxxxxx
Subject: [PATCH 0/2] Check return value of xfs_buf_read()
From: Chandra Seetharaman <sekharan@xxxxxxxxxx>
Date: Tue, 02 Aug 2011 19:18:23 -0700
Cc: Chandra Seetharaman <sekharan@xxxxxxxxxx>
Hello All,

While doing the previous clean up Alex noted that some of the places
where xfs_buf_read() returns, the return value is not checked for NULL.

This set check for the return value and returns failure if NULL and also
avoids using xfs_buf_geterror() when not needed.

Thanks & Regards,

chandra

<Prev in Thread] Current Thread [Next in Thread>