Only skip deletions on IOERR_GENERAL. Fixes bug 7809.
authorWayne Davison <wayned@samba.org>
Sat, 4 Jun 2011 20:04:46 +0000 (13:04 -0700)
committerWayne Davison <wayned@samba.org>
Sat, 4 Jun 2011 20:04:46 +0000 (13:04 -0700)
generator.c

index cd7abda..b8d930e 100644 (file)
@@ -288,7 +288,7 @@ static void delete_in_dir(char *fbuf, struct file_struct *file, dev_t *fs_dev)
        if (allowed_lull)
                maybe_send_keepalive(time(NULL), MSK_ALLOW_FLUSH);
 
-       if (io_error && !ignore_errors) {
+       if (io_error & IOERR_GENERAL && !ignore_errors) {
                if (already_warned)
                        return;
                rprintf(FINFO,