summaryrefslogtreecommitdiffstats
path: root/include/linux/msdos_fs.h
diff options
context:
space:
mode:
authorAlex Elder2013-03-04 18:08:29 +0100
committerSage Weil2013-05-02 06:16:13 +0200
commit8f63ca2d23c7922b24d7b95e54740ec29c859379 (patch)
tree4ff0bf8a8a5bf6fa4777e5778f1fe02e1243e820 /include/linux/msdos_fs.h
parentlibceph: complete lingering requests only once (diff)
downloadkernel-qcow2-linux-8f63ca2d23c7922b24d7b95e54740ec29c859379.tar.gz
kernel-qcow2-linux-8f63ca2d23c7922b24d7b95e54740ec29c859379.tar.xz
kernel-qcow2-linux-8f63ca2d23c7922b24d7b95e54740ec29c859379.zip
libceph: fix wrong opcode use in osd_req_encode_op()
The new cases added to osd_req_encode_op() caused a new sparse error, which highlighted an existing problem that had been overlooked since it was originally checked in. When an unsupported opcode is found the destination rather than the source opcode was being used in the error message. The two differ in their byte order, and we want to be using the one in the source. Fix the problem in both spots. Reported-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Alex Elder <elder@inktank.com> Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Diffstat (limited to 'include/linux/msdos_fs.h')
0 files changed, 0 insertions, 0 deletions