]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
client: print stat mode in octal
authorPatrick Donnelly <pdonnell@ibm.com>
Tue, 25 Feb 2025 02:13:18 +0000 (21:13 -0500)
committerPatrick Donnelly <pdonnell@ibm.com>
Mon, 17 Mar 2025 19:43:15 +0000 (15:43 -0400)
Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
(cherry picked from commit d6a5656387bd273c0cf9ebc3d990d0ccdddb153e)

src/client/Client.cc

index 1df1643e410262be9388f505923e357fdaf85190..7fcab157c6bbcb90773268d6e7fad7bb7c95cd38 100644 (file)
@@ -8161,7 +8161,7 @@ int Client::_do_setattr(Inode *in, struct ceph_statx *stx, int mask,
   }
 
   if (mask & CEPH_SETATTR_MODE) {
-    ldout(cct,10) << "changing mode to " << stx->stx_mode << dendl;
+    ldout(cct,10) << "changing mode to " << std::oct << stx->stx_mode << dendl;
 
     if (!do_sync && in->caps_issued_mask(CEPH_CAP_AUTH_EXCL)) {
       in->ctime = ceph_clock_now();