diff options
author | NeilBrown <neilb@suse.de> | 2010-06-01 19:37:31 +1000 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2010-07-26 13:07:22 +1000 |
commit | ac2f40be46ce6ab3bec4c8c297d6923f941741ce (patch) | |
tree | f1abc7d627edaaf450dbff3e68a902ff667a3c92 /drivers/md/md.h | |
parent | 9f7c2220017771253d7d10b3cc017cb79eeac0fb (diff) |
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.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/md.h b/drivers/md/md.h index 57eb864a824..209993207a5 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; |