]> arthur.barton.de Git - netatalk.git/commitdiff
bugfix: deletecurdir() with concurrent access, dir->d_child != NULL doesn't mean...
authordidg <didg>
Fri, 31 Jan 2003 17:47:06 +0000 (17:47 +0000)
committerdidg <didg>
Fri, 31 Jan 2003 17:47:06 +0000 (17:47 +0000)
etc/afpd/directory.c

index af51cf9e8914b6111f0af3ed861f7cd0be11b0a7..e577f238ec286e243ae68e5a2c94a90fc0da4edf 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: directory.c,v 1.60 2003-01-31 17:38:00 didg Exp $
+ * $Id: directory.c,v 1.61 2003-01-31 17:47:06 didg Exp $
  *
  * Copyright (c) 1990,1993 Regents of The University of Michigan.
  * All Rights Reserved.  See COPYRIGHT.
@@ -1923,10 +1923,6 @@ int pathlen;
         return( AFPERR_ACCESS );
     }
 
-    if ( curdir->d_child != NULL ) {
-        return( AFPERR_DIRNEMPT );
-    }
-
     fdir = curdir;
 
     memset(&ad, 0, sizeof(ad));