ceph: use mapping->nrpages to determine if mapping is empty
authorSage Weil <sage@newdream.net>
Fri, 17 Sep 2010 17:46:44 +0000 (10:46 -0700)
committerSage Weil <sage@newdream.net>
Wed, 20 Oct 2010 22:38:15 +0000 (15:38 -0700)
commit18a38193efcaac1fb3c94ad8fa04bb117850a3c2
tree096877dc2a039a991262d9f05fa0a2c2f684cfa8
parent93afd449aa3c0430ef409c13e1cb2b3f0458fc10
ceph: use mapping->nrpages to determine if mapping is empty

This is simpler and faster.

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