summaryrefslogtreecommitdiff
path: root/mm/mlock.c
diff options
context:
space:
mode:
authorAlex Elder <elder@dreamhost.com>2012-01-24 01:49:27 +0400
committerAlex Elder <elder@dreamhost.com>2012-03-22 19:47:45 +0400
commita5bc3129a296fd4663c3ef0be5575e82453739dd (patch)
tree96024ed3b2cb7afef2fe860da26be030ec483e0b /mm/mlock.c
parent5766651971e81298732466c9aa462ff47898ba37 (diff)
downloadlinux-a5bc3129a296fd4663c3ef0be5575e82453739dd.tar.xz
ceph: make use of "else" where appropriate
Rearrange ceph_tcp_connect() a bit, making use of "else" rather than re-testing a value with consecutive "if" statements. Don't record a connection's socket pointer unless the connect operation is successful. Signed-off-by: Alex Elder <elder@dreamhost.com> Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'mm/mlock.c')
0 files changed, 0 insertions, 0 deletions