summaryrefslogtreecommitdiff
path: root/fs/hostfs
diff options
context:
space:
mode:
authorSage Weil <sage@newdream.net>2011-05-12 22:28:11 (GMT)
committerSage Weil <sage@newdream.net>2011-05-19 18:25:04 (GMT)
commitda39822c6565095a0151ccf9d6b95e2ae5612885 (patch)
tree7e69ca065c8ea5b4152e73f59347924f9edb02d8 /fs/hostfs
parent31456665a02148353a83fec84d3182700e356588 (diff)
downloadlinux-fsl-qoriq-da39822c6565095a0151ccf9d6b95e2ae5612885.tar.xz
ceph: fix broken comparison in readdir loop
Both off and fi->offset are unsigned, so the difference is always >= 0. Compare them directly instead of the sign of the difference. Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'fs/hostfs')
0 files changed, 0 insertions, 0 deletions