]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
client: drop duplicate friend 19373/head
authorJos Collin <jcollin@redhat.com>
Thu, 7 Dec 2017 07:56:37 +0000 (13:26 +0530)
committerJos Collin <jcollin@redhat.com>
Thu, 7 Dec 2017 07:56:44 +0000 (13:26 +0530)
Dropped duplicate friend access providing, as the below warning appears:
ceph/src/client/Client.h:764:16: warning: ‘C_Client_Remount’ is already a friend of ‘Client’ [enabled by default]
   friend class C_Client_Remount;

Signed-off-by: Jos Collin <jcollin@redhat.com>
src/client/Client.h

index 0c1669c10da2716e44dc85cff0e7174ad1844c8c..a792a5cdbbd5a3d1366259f2e7222b5a3a700a63 100644 (file)
@@ -761,7 +761,6 @@ private:
   void _put_fh(Fh *fh);
 
   int _do_remount(void);
-  friend class C_Client_Remount;
 
   struct C_Readahead : public Context {
     Client *client;