summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_ioctl.c
diff options
context:
space:
mode:
authorEric Sandeen <sandeen@redhat.com>2014-05-05 07:27:06 (GMT)
committerDave Chinner <david@fromorbit.com>2014-05-05 07:27:06 (GMT)
commitf58522c5a47a1862c6b3fad97ea9285c5d68199d (patch)
tree38014a3199297f7b7ccece36eb8ad18d8072943c /fs/xfs/xfs_ioctl.c
parent9da93f9b7cdf8ab28da6b364cdc1fafc8670b4dc (diff)
downloadlinux-f58522c5a47a1862c6b3fad97ea9285c5d68199d.tar.xz
xfs: bulletfproof xfs_qm_scall_trunc_qfiles()
Coverity noticed that if we sent junk into xfs_qm_scall_trunc_qfiles(), we could get back an uninitialized error value. So sanitize the flags we will accept, and initialize error anyway for good measure. (This bug may have been introduced via c61a9e39). Should resolve Coverity CID 1163872. Signed-off-by: Eric Sandeen <sandeen@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Jie Liu <jeff.liu@oracle.com> Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/xfs_ioctl.c')
0 files changed, 0 insertions, 0 deletions