]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ceph: tidy ceph_mdsmap_decode() a little
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 29 May 2013 11:46:56 +0000 (06:46 -0500)
committerSage Weil <sage@inktank.com>
Thu, 13 Jun 2013 15:46:19 +0000 (08:46 -0700)
commit3d4dc0bd94ac7691268b4af351aae99c70830f2a
treea6ecd2b938e272529038dd0e37525dc90d3b8197
parent12fb333ad7ff3a083dbf6b56597b8d75e449e7f0
ceph: tidy ceph_mdsmap_decode() a little

I introduced a new temporary variable "info" instead of
"m->m_info[mds]".  Also I reversed the if condition and pulled
everything in one indent level.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Alex Elder <elder@inktank.com>
fs/ceph/mdsmap.c