ecryptfs: re-order a condition for static checkers
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 22 Aug 2018 10:43:59 +0000 (13:43 +0300)
committerTyler Hicks <tyhicks@canonical.com>
Sat, 16 Feb 2019 22:42:48 +0000 (22:42 +0000)
commit4b47a8b51e7bc0bcd1fa8e546a6333a04ab760d8
tree0b05634cab3a03aa5bf5f057fa760c0d568eabce
parent0bdf8a8245fdea6f075a5fede833a5fcf1b3466c
ecryptfs: re-order a condition for static checkers

Static checkers complain that we are using "s->i" as an offset before
we check whether it is within bounds.  It doesn't matter much but we
can easily swap the order of the checks to make everyone happy.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Tyler Hicks <tyhicks@canonical.com>
fs/ecryptfs/keystore.c