Commit e8a00334 authored by NeilBrown's avatar NeilBrown Committed by Linus Torvalds

[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: default avatarNeil Brown <neilb@suse.de>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 1887b935
...@@ -140,3 +140,12 @@ What: EXPORT_SYMBOL(lookup_hash) ...@@ -140,3 +140,12 @@ What: EXPORT_SYMBOL(lookup_hash)
When: January 2006 When: January 2006
Why: Too low-level interface. Use lookup_one_len or lookup_create instead. Why: Too low-level interface. Use lookup_one_len or lookup_create instead.
Who: Christoph Hellwig <hch@lst.de> Who: Christoph Hellwig <hch@lst.de>
---------------------------
What: START_ARRAY ioctl for md
When: July 2006
Files: drivers/md/md.c
Why: Not reliable by design - can fail when most needed.
Alternatives exist
Who: NeilBrown <neilb@suse.de>
...@@ -3156,7 +3156,7 @@ static int md_ioctl(struct inode *inode, struct file *file, ...@@ -3156,7 +3156,7 @@ static int md_ioctl(struct inode *inode, struct file *file,
if (cnt > 0 ) { if (cnt > 0 ) {
printk(KERN_WARNING printk(KERN_WARNING
"md: %s(pid %d) used deprecated START_ARRAY ioctl. " "md: %s(pid %d) used deprecated START_ARRAY ioctl. "
"This will not be supported beyond 2.6\n", "This will not be supported beyond July 2006\n",
current->comm, current->pid); current->comm, current->pid);
cnt--; cnt--;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment