Re: [CHECKER] 56 potential lock/unlock bugs in 2.5.8

From: Roman Zippel (zippel@linux-m68k.org)
Date: Fri Jul 12 2002 - 13:37:11 EST


Hi,

On Fri, 12 Jul 2002, Thunder from the hill wrote:

> You mean
>
> static inline int affs_rmdir(struct inode *dir, struct dentry *dentry)
> {
> int res;
> lock_kernel();
> res = affs_remove_header(dentry);
> unlock_kernel();
> return res;
> }

lock_kernel isn't required here. Yesterday I went through affs and removed
the BKL completely.

bye, Roman

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jul 15 2002 - 22:00:23 EST