4f0dcb10cf
This creates a new source file "net/ceph/snapshot.c" to contain utility routines related to ceph snapshot contexts. The main motivation was to define ceph_create_snap_context() as a common way to create these structures, but I've moved the definitions of ceph_get_snap_context() and ceph_put_snap_context() there too. (The benefit of inlining those is very small, and I'd rather keep this collection of functions together.) Signed-off-by: Alex Elder <elder@inktank.com> Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
16 lines
357 B
Makefile
16 lines
357 B
Makefile
#
|
|
# Makefile for CEPH filesystem.
|
|
#
|
|
obj-$(CONFIG_CEPH_LIB) += libceph.o
|
|
|
|
libceph-y := ceph_common.o messenger.o msgpool.o buffer.o pagelist.o \
|
|
mon_client.o \
|
|
osd_client.o osdmap.o crush/crush.o crush/mapper.o crush/hash.o \
|
|
debugfs.o \
|
|
auth.o auth_none.o \
|
|
crypto.o armor.o \
|
|
auth_x.o \
|
|
ceph_fs.o ceph_strings.o ceph_hash.o \
|
|
pagevec.o snapshot.o
|
|
|