diff options
author | Nicholas Mc Guire <hofrat@osadl.org> | 2015-03-17 07:47:58 -0400 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2015-04-15 12:10:21 -0400 |
commit | aca607ba242dde316794c0b607048fd5b688a520 (patch) | |
tree | c5b9934694c8e3240d1f220f528e2ab166e838ce /Documentation/device-mapper | |
parent | 18cc980ac8cf8c727d1f7d581b4576ed64bd78a6 (diff) |
dm delay: use msecs_to_jiffies for time conversion
Converting milliseconds to jiffies by "val * HZ / 1000" is technically
OK but msecs_to_jiffies(val) is the cleaner solution and handles all
corner cases correctly.
Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'Documentation/device-mapper')
0 files changed, 0 insertions, 0 deletions