]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
Client: always pass a Fh to _do_filelock
authorGreg Farnum <gfarnum@redhat.com>
Thu, 1 Sep 2016 23:55:00 +0000 (16:55 -0700)
committerGreg Farnum <gfarnum@redhat.com>
Wed, 21 Sep 2016 23:33:57 +0000 (16:33 -0700)
commita8f214f7ebc3834e22aab3ce61ac05673471250a
treec0e3a83e443e8a00787468e916bb7bf5eee826ef
parent5a1b9f84c06771080fa883747e92328fa7803f41
Client: always pass a Fh to _do_filelock

We weren't passing in the Fh as a signal we were releasing locks (ie, don't
remove the lock ranges in question rather than adding htem to our accounting).
But that was a little weird and doesn't work when we're pulling perms out of
the Fh.

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
src/client/Client.cc
src/client/Client.h