From: Chas Williams Date: Thu, 24 Jun 2004 18:28:03 +0000 (+0000) Subject: linux-make-lock-unlock-20040624 X-Git-Tag: openafs-devel-1_3_65~3 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=f42cf2a991b9ac37f9525cbdd7afddd02bb4c9b9;p=packages%2Fo%2Fopenafs.git linux-make-lock-unlock-20040624 FIXES 5430 don't double lock the kernel --- diff --git a/src/afs/LINUX/osi_vnodeops.c b/src/afs/LINUX/osi_vnodeops.c index 8c69e86d9..db1598539 100644 --- a/src/afs/LINUX/osi_vnodeops.c +++ b/src/afs/LINUX/osi_vnodeops.c @@ -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);