diff options
author | NeilBrown <neilb@suse.de> | 2005-11-15 03:09:11 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-15 11:59:19 -0500 |
commit | e8a0033451f7972169b2f375be34d9d805ad8687 (patch) | |
tree | 5b6f56750e4b829b75e0cecbf36d85bf0ec29432 | |
parent | 1887b93529410633b5529a7c2d304897dbed5b3e (diff) |
[PATCH] md: mark START_ARRAY deprecated with a date
This was marked deprecated "after 2.6" back in the 2.5 days. But now it
seems there isn't going to be any "after 2.6", and we deprecate by date
now. So set a date.
Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r-- | Documentation/feature-removal-schedule.txt | 9 | ||||
-rw-r--r-- | drivers/md/md.c | 2 |
2 files changed, 10 insertions, 1 deletions
diff --git a/Documentation/feature-removal-schedule.txt b/Documentation/feature-removal-schedule.txt index 429db4bf98ec..24fe8edad304 100644 --- a/Documentation/feature-removal-schedule.txt +++ b/Documentation/feature-removal-schedule.txt | |||
@@ -140,3 +140,12 @@ What: EXPORT_SYMBOL(lookup_hash) | |||
140 | When: January 2006 | 140 | When: January 2006 |
141 | Why: Too low-level interface. Use lookup_one_len or lookup_create instead. | 141 | Why: Too low-level interface. Use lookup_one_len or lookup_create instead. |
142 | Who: Christoph Hellwig <hch@lst.de> | 142 | Who: Christoph Hellwig <hch@lst.de> |
143 | |||
144 | --------------------------- | ||
145 | |||
146 | What: START_ARRAY ioctl for md | ||
147 | When: July 2006 | ||
148 | Files: drivers/md/md.c | ||
149 | Why: Not reliable by design - can fail when most needed. | ||
150 | Alternatives exist | ||
151 | Who: NeilBrown <neilb@suse.de> | ||
diff --git a/drivers/md/md.c b/drivers/md/md.c index adf960d8a7c9..a9f032e341cb 100644 --- a/drivers/md/md.c +++ b/drivers/md/md.c | |||
@@ -3156,7 +3156,7 @@ static int md_ioctl(struct inode *inode, struct file *file, | |||
3156 | if (cnt > 0 ) { | 3156 | if (cnt > 0 ) { |
3157 | printk(KERN_WARNING | 3157 | printk(KERN_WARNING |
3158 | "md: %s(pid %d) used deprecated START_ARRAY ioctl. " | 3158 | "md: %s(pid %d) used deprecated START_ARRAY ioctl. " |
3159 | "This will not be supported beyond 2.6\n", | 3159 | "This will not be supported beyond July 2006\n", |
3160 | current->comm, current->pid); | 3160 | current->comm, current->pid); |
3161 | cnt--; | 3161 | cnt--; |
3162 | } | 3162 | } |