diff options
author | NeilBrown <neilb@suse.de> | 2010-06-01 05:37:31 -0400 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2010-07-25 23:07:22 -0400 |
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 57eb864a8249..209993207a55 100644 --- a/drivers/md/md.h +++ b/drivers/md/md.h | |||
@@ -319,7 +319,7 @@ struct mddev_s | |||
319 | */ | 319 | */ |
320 | struct mutex mutex; | 320 | struct mutex mutex; |
321 | unsigned long chunksize; | 321 | unsigned long chunksize; |
322 | unsigned long daemon_sleep; /* how many seconds between updates? */ | 322 | unsigned long daemon_sleep; /* how many jiffies between updates? */ |
323 | unsigned long max_write_behind; /* write-behind mode */ | 323 | unsigned long max_write_behind; /* write-behind mode */ |
324 | int external; | 324 | int external; |
325 | } bitmap_info; | 325 | } bitmap_info; |