]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
uclient: fix flush_caps(Inode*,int)
authorGreg Farnum <gregory.farnum@dreamhost.com>
Fri, 17 Jun 2011 18:52:13 +0000 (11:52 -0700)
committerGreg Farnum <gregory.farnum@dreamhost.com>
Wed, 22 Jun 2011 21:22:53 +0000 (14:22 -0700)
commit7fcf29d6dcd847cf5b244002f0f580b81925ea18
tree1856f5872da7c636a25a5da1e80915dffaef7ecc
parent787f03cbd7489cb31f5feeec08f84d0b68aa5c0a
uclient: fix flush_caps(Inode*,int)

This function was just broken before. You need to be setting
flushing_cap_tids for the caps you're actually flushing, which
in this case is in->dirty_caps, not the horribly-named "flush"
variable.
Also, rename "flush" to "retain" since that's what it actually is!

Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
src/client/Client.cc