commit | bd0fc2884ca4d1516da1aa5cf44385e24dc23c29 | [log] [tgz] |
---|---|---|
author | Minfei Huang <mnghuan@gmail.com> | Tue May 17 15:58:41 2016 +0800 |
committer | Jens Axboe <axboe@fb.com> | Tue Jun 07 22:23:12 2016 -0600 |
tree | edbefd1f620711cf47c8f7af659a747c75f239af | |
parent | c55a2fd4bb16bcdd8c42e3d64fccd326416b7492 [diff] |
nvme: use UINT_MAX for max discard sectors It's more elegant to use UINT_MAX to represent the max value of type unsigned int. So replace the actual value by using this define. Signed-off-by: Minfei Huang <mnghuan@gmail.com> Signed-off-by: Jens Axboe <axboe@fb.com>