]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
client: Use NULL instead of 0, for clarity.
authorTommi Virtanen <tommi.virtanen@dreamhost.com>
Thu, 31 Mar 2011 20:29:09 +0000 (13:29 -0700)
committerTommi Virtanen <tommi.virtanen@dreamhost.com>
Thu, 31 Mar 2011 20:36:01 +0000 (13:36 -0700)
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
src/client/Client.cc

index 26f06e727cebd4c8d999900a502eb64c5b0f65cb..e3fa46e15d971f378fb3a9a3f9ecfc8e154a46cf 100644 (file)
@@ -3035,7 +3035,7 @@ int Client::unmount()
 
   if (cwd)
     put_inode(cwd);
-  cwd = 0;
+  cwd = NULL;
 
   // NOTE: i'm assuming all caches are already flushing (because all files are closed).