Re: [systemd-devel] [PATCH] util: rm_rf_children() add root_dev parameter

2012-05-22 Thread Harald Hoyer
Am 22.05.2012 15:19, schrieb har...@redhat.com: > From: Harald Hoyer > > if root_dev is set, remove subdirectories only, if the device is the > same as the root_dev. This prevents to remove files across device > boundaries. > --- > src/shared/util.c | 39 ++-

[systemd-devel] [PATCH] util: rm_rf_children() add root_dev parameter

2012-05-22 Thread harald
From: Harald Hoyer if root_dev is set, remove subdirectories only, if the device is the same as the root_dev. This prevents to remove files across device boundaries. --- src/shared/util.c | 39 ++- src/shared/util.h |2 +- 2 files changed, 27 insertions(

[systemd-devel] [PATCH] util: rm_rf_children() add root_dev parameter

2012-05-16 Thread harald
From: Harald Hoyer if root_dev is set, remove subdirectories only, if the device is the same as the root_dev. This prevents to remove files across device boundaries. --- src/shared/util.c | 39 ++- src/shared/util.h |2 +- 2 files changed, 27 insertions(