diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-04-04 19:22:00 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-04-06 10:57:53 +0200 |
commit | 9e9b663aae201c24ba4f673cf77ee6bebe4edaa6 (patch) | |
tree | 002441fab44af8ba874e436ccfb9d2a81e26e765 /src/shared/rm-rf.h | |
parent | 8f06b239f2a41310582f9d1932778afbc0c9c9f6 (diff) |
rm-rf: add support for recursively removing btrfs subvolumes
Diffstat (limited to 'src/shared/rm-rf.h')
-rw-r--r-- | src/shared/rm-rf.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared/rm-rf.h b/src/shared/rm-rf.h index 769bbc853d..96579eb182 100644 --- a/src/shared/rm-rf.h +++ b/src/shared/rm-rf.h @@ -27,6 +27,7 @@ typedef enum RemoveFlags { REMOVE_ONLY_DIRECTORIES = 1, REMOVE_ROOT = 2, REMOVE_PHYSICAL = 4, /* if not set, only removes files on tmpfs, never physical file systems */ + REMOVE_SUBVOLUME = 8, } RemoveFlags; int rm_rf_children(int fd, RemoveFlags flags, struct stat *root_dev); |