linux-make-lock-unlock-20040624
authorChas Williams <chas@cmf.nrl.navy.mil>
Thu, 24 Jun 2004 18:28:03 +0000 (18:28 +0000)
committerDerrick Brashear <shadow@dementia.org>
Thu, 24 Jun 2004 18:28:03 +0000 (18:28 +0000)
FIXES 5430

don't double lock the kernel

src/afs/LINUX/osi_vnodeops.c

index 8c69e86..db15985 100644 (file)
@@ -1142,7 +1142,7 @@ afs_linux_unlink(struct inode *dip, struct dentry *dp)
     if (!code)
        d_drop(dp);
 #if defined(AFS_LINUX26_ENV)
-    lock_kernel();
+    unlock_kernel();
 #endif
     AFS_GUNLOCK();
     crfree(credp);