From: Trond Myklebust Date: Wed, 12 Feb 2014 14:36:59 +0000 (-0500) Subject: NFSv4.1: Fix wraparound issues in pnfs_seqid_is_newer() X-Git-Tag: v3.15-rc1~66^2~12^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2c64c57dfc4b7946f7abd8af653f55af581bc2c3;p=pandora-kernel.git NFSv4.1: Fix wraparound issues in pnfs_seqid_is_newer() Subtraction of signed integers does not have well defined wraparound semantics in the C99 standard. In order to be wraparound-safe, we have to use unsigned subtraction, and then cast the result. Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed