You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Julia Lawall
62b0559aad
drivers/md: use time_before, time_before_eq, etc
...
The functions time_before, time_before_eq, time_after, and time_after_eq
are more robust for comparing jiffies against other values.
A simplified version of the semantic patch making this change is as follows:
(http://www.emn.fr/x-info/coccinelle/ )
// <smpl>
@ change_compare_np @
expression E;
@@
(
- jiffies <= E
+ time_before_eq(jiffies,E)
|
- jiffies >= E
+ time_after_eq(jiffies,E)
|
- jiffies < E
+ time_before(jiffies,E)
|
- jiffies > E
+ time_after(jiffies,E)
)
@ include depends on change_compare_np @
@@
#include <linux/jiffies.h>
@ no_include depends on !include && change_compare_np @
@@
#include <linux/...>
+ #include <linux/jiffies.h>
// </smpl>
[akpm@linux-foundation.org: coding-style fixes]
Signed-off-by: Julia Lawall <julia@diku.dk>
Cc: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
17 years ago
..
raid6test
md: raid6: clean up the style of raid6test/test.c
17 years ago
.gitignore
…
Kconfig
dm: targets no longer experimental
17 years ago
Makefile
dm: move include files
17 years ago
bitmap.c
md: reduce CPU wastage on idle md array with a write-intent bitmap
17 years ago
dm-bio-list.h
dm: bio_list macro renaming
18 years ago
dm-bio-record.h
…
dm-crypt.c
dm crypt: fix ctx pending
17 years ago
dm-delay.c
dm: bio_list macro renaming
18 years ago
dm-emc.c
dm mpath: emc fix an error message
18 years ago
dm-exception-store.c
dm: move include files
17 years ago
dm-hw-handler.c
dm: use kzalloc
18 years ago
dm-hw-handler.h
dm mpath: add retry pg init
18 years ago
dm-io.c
dm: unplug queues in threads
17 years ago
dm-ioctl.c
dm ioctl: use uninitialized_var
17 years ago
dm-kcopyd.c
dm: unplug queues in threads
17 years ago
dm-linear.c
[PATCH] dm: map and endio symbolic return codes
18 years ago
dm-log.c
dm: move include files
17 years ago
dm-mpath-hp-sw.c
dm mpath: hp retry if not ready
18 years ago
dm-mpath-rdac.c
dm mpath: rdac fix init race
18 years ago
dm-mpath.c
dm mpath: add missing static
17 years ago
dm-mpath.h
…
dm-path-selector.c
dm: use kzalloc
18 years ago
dm-path-selector.h
…
dm-raid1.c
dm: unplug queues in threads
17 years ago
dm-round-robin.c
dm: remove duplicate module name from error msgs
18 years ago
dm-snap.c
dm: move include files
17 years ago
dm-snap.h
dm kcopyd: clean interface
17 years ago
dm-stripe.c
dm: stripe enhanced status return
17 years ago
dm-table.c
dm table: remove unused dm_create_error_table
17 years ago
dm-target.c
dm: use kzalloc
18 years ago
dm-uevent.c
md: replace remaining __FUNCTION__ occurrences
17 years ago
dm-uevent.h
dm: uevent generate events
18 years ago
dm-zero.c
Drop 'size' argument from bio_endio and bi_end_io
18 years ago
dm.c
dm: remove md argument from specific_minor
17 years ago
dm.h
dm: expose macros
17 years ago
faulty.c
md: change ITERATE_RDEV to rdev_for_each
17 years ago
linear.c
md: change ITERATE_RDEV to rdev_for_each
17 years ago
md.c
md: fix integer as NULL pointer warnings in md.c
17 years ago
mktables.c
md: raid6: Fix mktable.c
17 years ago
multipath.c
raid: remove leading TAB on printk messages
17 years ago
raid0.c
md: change ITERATE_RDEV to rdev_for_each
17 years ago
raid1.c
raid: remove leading TAB on printk messages
17 years ago
raid5.c
raid: remove leading TAB on printk messages
17 years ago
raid6.h
…
raid6algos.c
drivers/md: use time_before, time_before_eq, etc
17 years ago
raid6altivec.uc
…
raid6int.uc
…
raid6mmx.c
x86 merge fallout: uml
18 years ago
raid6recov.c
…
raid6sse1.c
x86 merge fallout: uml
18 years ago
raid6sse2.c
x86 merge fallout: uml
18 years ago
raid6x86.h
x86 merge fallout: uml
18 years ago
raid10.c
raid: remove leading TAB on printk messages
17 years ago
unroll.pl
…