This is a note to let you know that I've just added the patch titled
mm: Remove false WARN_ON from pagecache_isize_extended()
to the 3.14-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
mm-remove-false-warn_on-from-pagecache_isize_extended.patch
and it can be found in the queue-3.14 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <[email protected]> know about it.
>From f55fefd1a5a339b1bd08c120b93312d6eb64a9fb Mon Sep 17 00:00:00 2001
From: Jan Kara <[email protected]>
Date: Thu, 30 Oct 2014 10:35:00 +1100
Subject: mm: Remove false WARN_ON from pagecache_isize_extended()
From: Jan Kara <[email protected]>
commit f55fefd1a5a339b1bd08c120b93312d6eb64a9fb upstream.
The WARN_ON checking whether i_mutex is held in
pagecache_isize_extended() was wrong because some filesystems (e.g.
XFS) use different locks for serialization of truncates / writes. So
just remove the check.
Signed-off-by: Jan Kara <[email protected]>
Reviewed-by: Dave Chinner <[email protected]>
Signed-off-by: Dave Chinner <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
---
mm/truncate.c | 1 -
1 file changed, 1 deletion(-)
--- a/mm/truncate.c
+++ b/mm/truncate.c
@@ -649,7 +649,6 @@ void pagecache_isize_extended(struct ino
struct page *page;
pgoff_t index;
- WARN_ON(!mutex_is_locked(&inode->i_mutex));
WARN_ON(to > inode->i_size);
if (from >= to || bsize == PAGE_CACHE_SIZE)
Patches currently in stable-queue which might be from [email protected] are
queue-3.14/ext3-don-t-check-quota-format-when-there-are-no-quota-files.patch
queue-3.14/evm-check-xattr-value-length-and-type-in-evm_inode_setxattr.patch
queue-3.14/scsi-fix-error-handling-in-scsi_ioctl_send_command.patch
queue-3.14/ext4-don-t-check-quota-format-when-there-are-no-quota-files.patch
queue-3.14/lib-bitmap.c-fix-undefined-shift-in-__bitmap_shift_-left-right.patch
queue-3.14/ext4-fix-oops-when-loading-block-bitmap-failed.patch
queue-3.14/vfs-fix-data-corruption-when-blocksize-pagesize-for-mmaped-data.patch
queue-3.14/ext4-fix-mmap-data-corruption-when-blocksize-pagesize.patch
queue-3.14/mm-remove-false-warn_on-from-pagecache_isize_extended.patch
queue-3.14/ext4-fix-overflow-when-updating-superblock-backups-after-resize.patch
queue-3.14/ext4-grab-missed-write_count-for-ext4_ioc_swap_boot.patch
queue-3.14/quota-properly-return-errors-from-dquot_writeback_dquots.patch
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html