Skip to content

Commit

Permalink
remove unused fiemap code
Browse files Browse the repository at this point in the history
Signed-off-by: Sage Weil <[email protected]>
  • Loading branch information
Sage Weil committed Jul 26, 2013
1 parent 6faf8b6 commit 14a3e2d
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 138 deletions.
5 changes: 0 additions & 5 deletions COPYING
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,6 @@ Copyright:
Copyright (C) 2004-2006 Sage Weil <[email protected]>
License: GPL2

Files: src/common/fiemap.cc
Copyright:
Copyright (C) 2010 Canonical
License: GPL2

Files: src/mount/canonicalize.c
Copyright: Copyright (C) 1993 Rick Sladkey <[email protected]>
License: LGPL2 or later
Expand Down
5 changes: 0 additions & 5 deletions debian/copyright
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,6 @@ Copyright:
Copyright (C) 2004-2006 Sage Weil <[email protected]>
License: GPL2

Files: src/common/fiemap.cc
Copyright:
Copyright (C) 2010 Canonical
License: GPL2

Files: src/mount/canonicalize.c
Copyright: Copyright (C) 1993 Rick Sladkey <[email protected]>
License: LGPL2 or later
Expand Down
3 changes: 1 addition & 2 deletions src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ ceph_radosacl_SOURCES = radosacl.cc
ceph_radosacl_LDADD = librados.la $(PTHREAD_LIBS) -lm $(CRYPTO_LIBS) $(EXTRALIBS)
bin_DEBUGPROGRAMS += ceph_scratchtool ceph_scratchtoolpp ceph_radosacl

rbd_SOURCES = rbd.cc common/fiemap.cc common/secret.c common/TextTable.cc common/util.cc
rbd_SOURCES = rbd.cc common/secret.c common/TextTable.cc common/util.cc
rbd_CXXFLAGS = ${AM_CXXFLAGS}
rbd_LDADD = librbd.la librados.la $(LIBGLOBAL_LDA) -lkeyutils
if LINUX
Expand Down Expand Up @@ -1895,7 +1895,6 @@ noinst_HEADERS = \
include/encoding.h\
include/err.h\
include/error.h\
include/fiemap.h\
include/filepath.h\
include/frag.h\
include/hash.h\
Expand Down
96 changes: 0 additions & 96 deletions src/common/fiemap.cc

This file was deleted.

27 changes: 0 additions & 27 deletions src/include/fiemap.h

This file was deleted.

2 changes: 1 addition & 1 deletion src/os/FileStore.cc
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
#endif

#include "include/compat.h"
#include "include/fiemap.h"
#include "include/linux_fiemap.h"

#include "common/xattr.h"
#include "chain_xattr.h"
Expand Down
2 changes: 0 additions & 2 deletions src/rbd.cc
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,6 @@
#include <sys/param.h>
#endif

#include "include/fiemap.h"

#define MAX_SECRET_LEN 1000
#define MAX_POOL_NAME_SIZE 128

Expand Down

0 comments on commit 14a3e2d

Please sign in to comment.