Re: [PATCH] fix reiserfs lock inversion of bkl vs inode semaphore

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 4 Aug 2006 10:00:15 -0400
Chris Mason <mason@xxxxxxxx> wrote:

> --- a/fs/reiserfs/inode.c	Thu Aug 03 16:18:18 2006 -0400
> +++ b/fs/reiserfs/inode.c	Thu Aug 03 16:18:28 2006 -0400
> @@ -35,11 +35,11 @@ void reiserfs_delete_inode(struct inode 
>  
>  	truncate_inode_pages(&inode->i_data, 0);
>  
> -	reiserfs_write_lock(inode->i_sb);
>  
>  	/* The = 0 happens when we abort creating a new inode for some reason like lack of space.. */
>  	if (!(inode->i_state & I_NEW) && INODE_PKEY(inode)->k_objectid != 0) {	/* also handles bad_inode case */
>  		mutex_lock(&inode->i_mutex);
> +		reiserfs_write_lock(inode->i_sb);

zam has removed the mutex_lock() from reiserfs_delete_inode() so I dropped
the changes to this function altogether.
-
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux