ceph: only set num_pages in calc_layout
authorSage Weil <sage@newdream.net>
Thu, 10 Jun 2010 22:50:10 +0000 (15:50 -0700)
committerSage Weil <sage@newdream.net>
Mon, 2 Aug 2010 03:11:40 +0000 (20:11 -0700)
commit796d6955a51ce6768d0e033f27a2f8f5be6cb39a
tree03672d617a25c43ff90f7f627aa2ed0c3f3ed1db
parent37151668bad3fd058368752bee476f2ba3645596
ceph: only set num_pages in calc_layout

Setting it elsewhere is unnecessary and more fragile.

Signed-off-by: Sage Weil <sage@newdream.net>
fs/ceph/osd_client.c