[RFC 4/4] squashfs: eliminate read_data_mutex

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

 



This is no longer used, no that decompress is per-cpu.

Signed-off-by: Stephen Hemminger <shemminger@xxxxxxxxxx>


--- a/fs/squashfs/squashfs_fs_sb.h	2011-04-22 14:01:19.090469622 -0700
+++ b/fs/squashfs/squashfs_fs_sb.h	2011-04-22 14:01:27.786735743 -0700
@@ -62,7 +62,6 @@ struct squashfs_sb_info {
 	__le64					*id_table;
 	__le64					*fragment_index;
 	__le64					*xattr_id_table;
-	struct mutex				read_data_mutex;
 	struct mutex				meta_index_mutex;
 	struct meta_index			*meta_index;
 	void					*stream;
--- a/fs/squashfs/super.c	2011-04-22 14:00:56.133765430 -0700
+++ b/fs/squashfs/super.c	2011-04-22 14:01:01.653934993 -0700
@@ -104,7 +104,6 @@ static int squashfs_fill_super(struct su
 	msblk->devblksize = sb_min_blocksize(sb, BLOCK_SIZE);
 	msblk->devblksize_log2 = ffz(~msblk->devblksize);
 
-	mutex_init(&msblk->read_data_mutex);
 	mutex_init(&msblk->meta_index_mutex);
 
 	/*


--
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