summaryrefslogtreecommitdiffstats
path: root/fs/xfs/quota/xfs_dquot.c
diff options
context:
space:
mode:
authorDave Chinner <david@fromorbit.com>2010-01-20 12:04:53 +1100
committerDave Chinner <david@fromorbit.com>2010-01-20 12:04:53 +1100
commit587aa0feb74ffe3239b5e26ff5d017ba9f5daec9 (patch)
tree3979b8690cf6364afbe51c64a628102c97315064 /fs/xfs/quota/xfs_dquot.c
parentf0a0eaa8da08ebc6519cacd731df05bbb4ca47ce (diff)
downloadop-kernel-dev-587aa0feb74ffe3239b5e26ff5d017ba9f5daec9.zip
op-kernel-dev-587aa0feb74ffe3239b5e26ff5d017ba9f5daec9.tar.gz
xfs: rearrange xfs_mod_sb() to avoid array subscript warning
gcc warns of an array subscript out of bounds in xfs_mod_sb(). The code is written in such a way that if the array subscript is out of bounds, then it will assert fail. Rearrange the code to avoid the bounds check warning. Signed-off-by: Dave Chinner <david@fromorbit.com> Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/xfs/quota/xfs_dquot.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud