Skip to content

Commit

Permalink
storage: Split utility functions from storage_backend.(ch)
Browse files Browse the repository at this point in the history
The file became a garbage dump for all kinds of utility functions over
time. Move them to a separate file so that the files can become a clean
interface for the storage backends.
  • Loading branch information
pipo committed Jan 19, 2017
1 parent 4417481 commit 46e8049
Show file tree
Hide file tree
Showing 18 changed files with 3,117 additions and 3,047 deletions.
1 change: 1 addition & 0 deletions po/POTFILES.in
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ src/storage/storage_backend_scsi.c
src/storage/storage_backend_sheepdog.c
src/storage/storage_backend_zfs.c
src/storage/storage_driver.c
src/storage/storage_util.c
src/test/test_driver.c
src/uml/uml_conf.c
src/uml/uml_driver.c
Expand Down
3 changes: 2 additions & 1 deletion src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -972,7 +972,8 @@ SECRET_DRIVER_SOURCES = \
# Storage backend specific impls
STORAGE_DRIVER_SOURCES = \
storage/storage_driver.h storage/storage_driver.c \
storage/storage_backend.h storage/storage_backend.c
storage/storage_backend.h storage/storage_backend.c \
storage/storage_util.h storage/storage_util.c

STORAGE_DRIVER_FS_SOURCES = \
storage/storage_backend_fs.h storage/storage_backend_fs.c
Expand Down
Loading

0 comments on commit 46e8049

Please sign in to comment.