]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
cmake: move flock.cc from libmds into libcommon 10391/head
authorKefu Chai <kchai@redhat.com>
Tue, 26 Jul 2016 05:41:48 +0000 (13:41 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 26 Jul 2016 05:51:08 +0000 (13:51 +0800)
as we don't need to compile the whole mds just for building the
libcephfs

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/CMakeLists.txt
src/client/CMakeLists.txt

index 20173cb3c5414bff0a76278261bd3236c4cb79d3..6f5273d21ea2736b370211c1326c58b55818383b 100644 (file)
@@ -314,7 +314,8 @@ list(APPEND mds_files
   mds/FSMap.cc
   mds/FSMapUser.cc
   mds/inode_backtrace.cc
-  mds/mdstypes.cc)
+  mds/mdstypes.cc
+  mds/flock.cc)
 
 set(crush_srcs
   crush/builder.c
index d7f45f43402a74f065802421a8d9dd3294fa4605..e3e2afabd0bff31f269f2bb166227c265dce53a4 100644 (file)
@@ -8,4 +8,4 @@ set(libclient_srcs
   Trace.cc
   posix_acl.cc)
 add_library(client STATIC ${libclient_srcs})
-target_link_libraries(client osdc mds)
+target_link_libraries(client common osdc)