]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
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 8c69e86d9d4f70ceccffe33a64e0195efef04bf2..db1598539575ce24c99ba157ff4965b47345d4b8 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);