diff options
author | Xi Wang <xi.wang@gmail.com> | 2012-08-26 12:47:13 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-08-31 15:55:37 -0400 |
commit | fc61b928dc4d72176cf4bd4d30bf1d22e599aefc (patch) | |
tree | 6ae17685b8c9657293670d38f4703a4c597a3523 /mm/sparse.c | |
parent | 46b66d7077b89fb4917ceef19b3f7dd86055c94a (diff) |
af_unix: fix shutdown parameter checking
Return -EINVAL rather than 0 given an invalid "mode" parameter.
Signed-off-by: Xi Wang <xi.wang@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'mm/sparse.c')
0 files changed, 0 insertions, 0 deletions