Skip non-regular files to avoid ioctl errors while defragmenting.
They are silently ignored in recursive mode but reported as errors when
used as command-line arguments.
Signed-off-by: Pascal VITOUX vitoux.pas...@gmail.com
---
cmds-filesystem.c | 26 --
1 file changed
On Mon, Jan 6, 2014 at 4:36 PM, David Sterba dste...@suse.cz wrote:
On Wed, Jan 01, 2014 at 03:10:25PM +0100, Pascal VITOUX wrote:
---
cmds-filesystem.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cmds-filesystem.c b/cmds-filesystem.c
index 1c1926b..979dbd9
---
cmds-filesystem.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cmds-filesystem.c b/cmds-filesystem.c
index 1c1926b..979dbd9 100644
--- a/cmds-filesystem.c
+++ b/cmds-filesystem.c
@@ -646,7 +646,7 @@ static int defrag_callback(const char *fpath, const struct
stat *sb,