]> git.baikalelectronics.ru Git - kernel.git/commit
RDS: Add a warning if trying to allocate 0 sgs
authorAndy Grover <andy.grover@oracle.com>
Thu, 4 Feb 2010 03:41:52 +0000 (19:41 -0800)
committerAndy Grover <andy.grover@oracle.com>
Thu, 9 Sep 2010 01:12:03 +0000 (18:12 -0700)
commite9257ead1f8b52bc752a882463122c962d1e9fbd
tree6528275276bcd963b0d8fcd3fadac39e6d6c3e6f
parent24bfa02a2ec68ec3cc89ff1485f5dad4fe451acd
RDS: Add a warning if trying to allocate 0 sgs

rds_message_alloc_sgs() only works when nents is nonzero.

Signed-off-by: Andy Grover <andy.grover@oracle.com>
net/rds/message.c