]> Pileus Git - ~andy/linux/commit
libceph: create source file "net/ceph/snapshot.c"
authorAlex Elder <elder@inktank.com>
Tue, 30 Apr 2013 05:44:32 +0000 (00:44 -0500)
committerSage Weil <sage@inktank.com>
Thu, 2 May 2013 04:20:08 +0000 (21:20 -0700)
commit4f0dcb10cf1454a1c38aeaa04cb2757535e4905e
tree1637c6a8961c95bdf02b7326cea79ca9b0b8e07f
parentb536f69a3a589113992c32982bf2981c8225c9da
libceph: create source file "net/ceph/snapshot.c"

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>
include/linux/ceph/libceph.h
net/ceph/Makefile
net/ceph/snapshot.c [new file with mode: 0644]