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)
commitee4c7b47e46a9dea789aadb8279c8505f755b3ee
tree6528275276bcd963b0d8fcd3fadac39e6d6c3e6f
parent372cd7dedfd1ea93a9ae8d9c282e910dc1b76773
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