From: Chandra Seetharaman Date: Wed, 3 Aug 2011 02:18:29 +0000 (+0000) Subject: xfs: Check the return value of xfs_buf_read() for NULL X-Git-Tag: v3.1-rc2~17^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ac4d6888b21a8be373f3e06f1d4011fbe2bbbeac;p=pandora-kernel.git xfs: Check the return value of xfs_buf_read() for NULL Check the return value of xfs_buf_read() for NULL and return ENOMEM if it is NULL. This is necessary in a few spots to avoid subsequent code blindly dereferencing the null buffer pointer. Signed-off-by: Chandra Seetharaman Signed-off-by: Alex Elder --- Reading git-diff-tree failed