public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Check return value of xfs_buf_read()
@ 2011-08-03  2:18 Chandra Seetharaman
  2011-08-03  2:18 ` [PATCH 1/2] xfs: Check the return value of xfs_buf_read() for NULL Chandra Seetharaman
  2011-08-03  2:18 ` [PATCH 2/2] xfs: replace xfs_buf_geterror() with bp->b_error Chandra Seetharaman
  0 siblings, 2 replies; 5+ messages in thread
From: Chandra Seetharaman @ 2011-08-03  2:18 UTC (permalink / raw)
  To: xfs; +Cc: Chandra Seetharaman

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

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-08-11 22:04 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-03  2:18 [PATCH 0/2] Check return value of xfs_buf_read() Chandra Seetharaman
2011-08-03  2:18 ` [PATCH 1/2] xfs: Check the return value of xfs_buf_read() for NULL Chandra Seetharaman
2011-08-11 22:04   ` Alex Elder
2011-08-03  2:18 ` [PATCH 2/2] xfs: replace xfs_buf_geterror() with bp->b_error Chandra Seetharaman
2011-08-11 22:04   ` Alex Elder

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox