aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/md.h
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2010-03-21 19:28:51 -0400
committerNeilBrown <neilb@suse.de>2010-05-18 01:27:47 -0400
commitc0cc75f84e0e413bce2dcabea74ef418da45c7c1 (patch)
treef5723fbd0f5828cadaeec650abb8066ad52fad71 /drivers/md/md.h
parent7b92813c3c0b6990f14838e3985fb385d2655d0c (diff)
md: discard StateChanged device flag.
This was needed when sysfs files could only be 'notified' from process context. Now that we have sys_notify_direct, we can call it directly from an interrupt. Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'drivers/md/md.h')
-rw-r--r--drivers/md/md.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/md/md.h b/drivers/md/md.h
index 05145786b50f..e4836c68b73e 100644
--- a/drivers/md/md.h
+++ b/drivers/md/md.h
@@ -74,9 +74,6 @@ struct mdk_rdev_s
74#define Blocked 8 /* An error occured on an externally 74#define Blocked 8 /* An error occured on an externally
75 * managed array, don't allow writes 75 * managed array, don't allow writes
76 * until it is cleared */ 76 * until it is cleared */
77#define StateChanged 9 /* Faulty or Blocked has changed during
78 * interrupt, so it needs to be
79 * notified by the thread */
80 wait_queue_head_t blocked_wait; 77 wait_queue_head_t blocked_wait;
81 78
82 int desc_nr; /* descriptor index in the superblock */ 79 int desc_nr; /* descriptor index in the superblock */