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=c733f9b08d9eadc5e671185112567ada81116bdf;hpb=c6edc23d5f8a483e93a891bf7eb76b5f4caf2fb4 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);