X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fbasic%2Frm-rf.c;h=474bfbf43586771417ea9fa3504ae0d5ca1e9260;hp=6912b23f5fc89430389ca6a96c1b5c2c1a479ef5;hb=3835ce8528f80dc21606c6c01b90423ba317289b;hpb=66ecc207e203db5434610395cd04c40ae8727b58 diff --git a/src/basic/rm-rf.c b/src/basic/rm-rf.c index 6912b23f5..474bfbf43 100644 --- a/src/basic/rm-rf.c +++ b/src/basic/rm-rf.c @@ -128,7 +128,7 @@ int rm_rf_children(int fd, RemoveFlags flags, struct stat *root_dev) { continue; } -#if 0 +#if 0 /// elogind does not support BTRFS this directly if ((flags & REMOVE_SUBVOLUME) && st.st_ino == 256) { /* This could be a subvolume, try to remove it */ @@ -190,7 +190,7 @@ int rm_rf(const char *path, RemoveFlags flags) { return -EPERM; } -#if 0 +#if 0 /// elogind does not support BTRFS this directly if ((flags & (REMOVE_SUBVOLUME|REMOVE_ROOT|REMOVE_PHYSICAL)) == (REMOVE_SUBVOLUME|REMOVE_ROOT|REMOVE_PHYSICAL)) { /* Try to remove as subvolume first */ r = btrfs_subvol_remove(path, BTRFS_REMOVE_RECURSIVE|BTRFS_REMOVE_QUOTA);