aboutsummaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_aops.c
diff options
context:
space:
mode:
authorGravatar Eric Sandeen <sandeen@redhat.com> 2014-10-02 09:27:09 +1000
committerGravatar Dave Chinner <david@fromorbit.com> 2014-10-02 09:27:09 +1000
commit5cca3f611d159e5a4a5ec60413bd09948ef40aea (patch)
tree393d1019eb362fc023addf6144972de83fb06dda /fs/xfs/xfs_aops.c
parentxfs: fix crc field handling in xfs_sb_to/from_disk (diff)
downloadlinux-5cca3f611d159e5a4a5ec60413bd09948ef40aea.tar.gz
linux-5cca3f611d159e5a4a5ec60413bd09948ef40aea.tar.bz2
linux-5cca3f611d159e5a4a5ec60413bd09948ef40aea.zip
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 <sandeen@redhat.com> Reviewed-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/xfs_aops.c')
0 files changed, 0 insertions, 0 deletions