linux-make-lock-unlock-20040624

FIXES 5430

don't double lock the kernel
This commit is contained in:
Chas Williams 2004-06-24 18:28:03 +00:00 committed by Derrick Brashear
parent c91503f32d
commit f42cf2a991

View 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);