]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Locker: use a null_ref instead of NULL
authorGreg Farnum <greg@inktank.com>
Wed, 12 Mar 2014 21:20:52 +0000 (14:20 -0700)
committerGreg Farnum <greg@inktank.com>
Tue, 8 Apr 2014 00:00:18 +0000 (17:00 -0700)
Signed-off-by: Greg Farnum <greg@inktank.com>
src/mds/Locker.cc

index 2611a43b8194c80cab5fa8c90aadef39be5baaac..b9894662ae0547be90c897f61798e7c892f40b5e 100644 (file)
@@ -2539,7 +2539,8 @@ public:
     locker(l), client(c), item(it) { }
   void finish(int r) {
     string dname;
-    locker->process_request_cap_release(NULL, client, item, dname);
+    MDRequestRef null_ref;
+    locker->process_request_cap_release(null_ref, client, item, dname);
   }
 };