summaryrefslogtreecommitdiff
path: root/Documentation/device-mapper/dm-service-time.txt
diff options
context:
space:
mode:
authorNicholas Mc Guire <hofrat@osadl.org>2015-03-17 11:47:58 (GMT)
committerMike Snitzer <snitzer@redhat.com>2015-04-15 16:10:21 (GMT)
commitaca607ba242dde316794c0b607048fd5b688a520 (patch)
treec5b9934694c8e3240d1f220f528e2ab166e838ce /Documentation/device-mapper/dm-service-time.txt
parent18cc980ac8cf8c727d1f7d581b4576ed64bd78a6 (diff)
downloadlinux-aca607ba242dde316794c0b607048fd5b688a520.tar.xz
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/dm-service-time.txt')
0 files changed, 0 insertions, 0 deletions