aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/md.h
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2010-06-01 19:37:31 +1000
committerNeilBrown <neilb@suse.de>2010-07-26 13:07:22 +1000
commitac2f40be46ce6ab3bec4c8c297d6923f941741ce (patch)
treef1abc7d627edaaf450dbff3e68a902ff667a3c92 /drivers/md/md.h
parentmd/raid5: export raid5 unplugging interface. (diff)
downloadlinux-dev-ac2f40be46ce6ab3bec4c8c297d6923f941741ce.tar.xz
linux-dev-ac2f40be46ce6ab3bec4c8c297d6923f941741ce.zip
md/bitmap: white space clean up and similar.
Fixes some whitespace problems Fixed some checkpatch.pl complaints. Replaced kmalloc ... memset(0), with kzalloc Fixed an unlikely memory leak on an error path. Reformatted a number of 'if/else' sets, sometimes replacing goto with an else clause. Removed some old comments and commented-out code. Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'drivers/md/md.h')
-rw-r--r--drivers/md/md.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/md.h b/drivers/md/md.h
index 57eb864a8249..209993207a55 100644
--- a/drivers/md/md.h
+++ b/drivers/md/md.h
@@ -319,7 +319,7 @@ struct mddev_s
*/
struct mutex mutex;
unsigned long chunksize;
- unsigned long daemon_sleep; /* how many seconds between updates? */
+ unsigned long daemon_sleep; /* how many jiffies between updates? */
unsigned long max_write_behind; /* write-behind mode */
int external;
} bitmap_info;