commit | 332e008a44d1ab6ca85b2214578f2f89af04a2fc | [log] [tgz] |
---|---|---|
author | Weston Andros Adamson <dros@netapp.com> | Tue Oct 23 10:43:44 2012 -0400 |
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | Sun Nov 04 14:43:42 2012 -0500 |
tree | 3a17b1839ba3c7e3fea88150ad5404e814bb2635 | |
parent | b8a13d039cbf7aec3b486fc0ae3996a5449afed2 [diff] |
SUNRPC: remove BUG_ON from encode_rpcb_string Replace BUG_ON() with WARN_ON_ONCE() and truncate the encoded string if len > max. Signed-off-by: Weston Andros Adamson <dros@netapp.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>