]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
client: do not overload system errnos
authorPatrick Donnelly <pdonnell@redhat.com>
Thu, 12 Apr 2018 17:13:48 +0000 (10:13 -0700)
committerPrashant D <pdhange@redhat.com>
Thu, 31 May 2018 09:34:27 +0000 (05:34 -0400)
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 26f717361ea025462bc8016aca5a7c130048e769)

src/client/Client.h

index 6c131182b8a4c698d277b194d8c7dfd30e07fd22..d5f40b18b22ff83f0b88ab8928149279f239639b 100644 (file)
@@ -94,7 +94,8 @@ class MDSCommandOp : public CommandOp
 };
 
 /* error code for ceph_fuse */
-#define CEPH_FUSE_NO_MDS_UP    -(1<<2) /* no mds up deteced in ceph_fuse */
+#define CEPH_FUSE_NO_MDS_UP    -(1<<16+0) /* no mds up deteced in ceph_fuse */
+#define CEPH_FUSE_LAST         -(1<<16+1) /* (unused) */
 
 // ============================================
 // types for my local metadata cache