]> git.baikalelectronics.ru Git - kernel.git/commit
scsi_proc: make proc_scsi_host_open() preallocate a bigger buffer
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 31 Mar 2013 17:50:52 +0000 (13:50 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 9 Apr 2013 18:13:30 +0000 (14:13 -0400)
commitf60466b22e2e14ed7379e288c35c840740a6c5cd
treed84bf780f731173977d41f6086e428e50ce4268f
parent98a85032f4b2f3e042c58c009bdd293c8c97a726
scsi_proc: make proc_scsi_host_open() preallocate a bigger buffer

Some of the ->show_info() instances really spew a lot; it's not a problem
wrt correctness (seq_read() will grow buffer and call the sucker again),
but in this case it makes sense to start with a somewhat bigger one -
they often do exceed one page worth of output.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
drivers/scsi/scsi_proc.c