ceph: fix caps usage accounting for import (non-reserved) case
authorSage Weil <sage@newdream.net>
Tue, 29 Jun 2010 16:28:39 +0000 (09:28 -0700)
committerSage Weil <sage@newdream.net>
Tue, 29 Jun 2010 16:31:56 +0000 (09:31 -0700)
commit443b3760a06860187f135c1ecd56c2c7d4ad1022
treed6a3ec8b77f133066bd7795acca33f461eee821a
parentec97f88ba6d4256927fde516033ee76d5d85b54a
ceph: fix caps usage accounting for import (non-reserved) case

We need to increase the total and used counters when allocating a new cap
in the non-reserved (cap import) case.

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