From: Eric Sandeen Date: Wed, 1 Oct 2014 23:27:09 +0000 (+1000) Subject: xfs: check for null dquot in xfs_quota_calc_throttle() X-Git-Tag: fixes-against-v3.18-rc2~104^2^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5cca3f611d159e5a4a5ec60413bd09948ef40aea;p=pandora-kernel.git xfs: check for null dquot in xfs_quota_calc_throttle() Coverity spotted this. Granted, we *just* checked xfs_inod_dquot() in the caller (by calling xfs_quota_need_throttle). However, this is the only place we don't check the return value but the check is cheap and future-proof so add it. Signed-off-by: Eric Sandeen Reviewed-by: Dave Chinner Signed-off-by: Dave Chinner --- Reading git-diff-tree failed