]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
client: rename flush_caps() with no arguments to flush_caps_sync() 11710/head
authorJeff Layton <jlayton@redhat.com>
Thu, 10 Nov 2016 11:30:27 +0000 (06:30 -0500)
committerJeff Layton <jlayton@redhat.com>
Fri, 11 Nov 2016 11:28:50 +0000 (06:28 -0500)
commita374166c68bb5a47654352560b971be62ad83be8
treeaba2a7dc95a27c918d4b8df9727dab6a78917c5a
parentccdd778c88002a68756f3b957fd4416703ccaab0
client: rename flush_caps() with no arguments to flush_caps_sync()

Per Greg's recommendation, change the name of this function to better
indicate what it does now that we always request a journal flush on
the last cap flush.

Also, add a comment above the function to better explain why we do this.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
src/client/Client.cc
src/client/Client.h