commit | 5955572b19f64bdaddd778079f95fb3cafaadfda | [log] [tgz] |
---|---|---|
author | NeilBrown <neilb@suse.com> | Tue Feb 20 13:23:38 2018 +1100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Feb 22 15:06:36 2018 +0100 |
tree | 2c5a0bba94d2c8d03c7f3609543002e933ff6084 | |
parent | 8689a5027c7cfb8ee25318127262fbc974662d26 [diff] |
staging: lustre: fid: perform sanity checks before commiting When fid fetches a new range from the server, it commits to it (*output = *out) *before* performing sanity checks. This looks backwards. Don't commit to a value until it has been found to be sane. Signed-off-by: NeilBrown <neilb@suse.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>