stable.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: linux-kernel@vger.kernel.org
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	stable@vger.kernel.org,
	George Spelvin <linux@sciencehorizons.net>,
	Theodore Tso <tytso@mit.edu>
Subject: [PATCH 4.9 019/153] ext4: fix deadlock between inline_data and ext4_expand_extra_isize_ea()
Date: Fri, 10 Mar 2017 10:07:32 +0100	[thread overview]
Message-ID: <20170310083948.276793954@linuxfoundation.org> (raw)
In-Reply-To: <20170310083947.108106897@linuxfoundation.org>

4.9-stable review patch.  If anyone has any objections, please let me know.

------------------

From: Theodore Ts'o <tytso@mit.edu>

commit c755e251357a0cee0679081f08c3f4ba797a8009 upstream.

The xattr_sem deadlock problems fixed in commit 2e81a4eeedca: "ext4:
avoid deadlock when expanding inode size" didn't include the use of
xattr_sem in fs/ext4/inline.c.  With the addition of project quota
which added a new extra inode field, this exposed deadlocks in the
inline_data code similar to the ones fixed by 2e81a4eeedca.

The deadlock can be reproduced via:

   dmesg -n 7
   mke2fs -t ext4 -O inline_data -Fq -I 256 /dev/vdc 32768
   mount -t ext4 -o debug_want_extra_isize=24 /dev/vdc /vdc
   mkdir /vdc/a
   umount /vdc
   mount -t ext4 /dev/vdc /vdc
   echo foo > /vdc/a/foo

and looks like this:

[   11.158815]
[   11.160276] =============================================
[   11.161960] [ INFO: possible recursive locking detected ]
[   11.161960] 4.10.0-rc3-00015-g011b30a8a3cf #160 Tainted: G        W
[   11.161960] ---------------------------------------------
[   11.161960] bash/2519 is trying to acquire lock:
[   11.161960]  (&ei->xattr_sem){++++..}, at: [<c1225a4b>] ext4_expand_extra_isize_ea+0x3d/0x4cd
[   11.161960]
[   11.161960] but task is already holding lock:
[   11.161960]  (&ei->xattr_sem){++++..}, at: [<c1227941>] ext4_try_add_inline_entry+0x3a/0x152
[   11.161960]
[   11.161960] other info that might help us debug this:
[   11.161960]  Possible unsafe locking scenario:
[   11.161960]
[   11.161960]        CPU0
[   11.161960]        ----
[   11.161960]   lock(&ei->xattr_sem);
[   11.161960]   lock(&ei->xattr_sem);
[   11.161960]
[   11.161960]  *** DEADLOCK ***
[   11.161960]
[   11.161960]  May be due to missing lock nesting notation
[   11.161960]
[   11.161960] 4 locks held by bash/2519:
[   11.161960]  #0:  (sb_writers#3){.+.+.+}, at: [<c11a2414>] mnt_want_write+0x1e/0x3e
[   11.161960]  #1:  (&type->i_mutex_dir_key){++++++}, at: [<c119508b>] path_openat+0x338/0x67a
[   11.161960]  #2:  (jbd2_handle){++++..}, at: [<c123314a>] start_this_handle+0x582/0x622
[   11.161960]  #3:  (&ei->xattr_sem){++++..}, at: [<c1227941>] ext4_try_add_inline_entry+0x3a/0x152
[   11.161960]
[   11.161960] stack backtrace:
[   11.161960] CPU: 0 PID: 2519 Comm: bash Tainted: G        W       4.10.0-rc3-00015-g011b30a8a3cf #160
[   11.161960] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.1-1 04/01/2014
[   11.161960] Call Trace:
[   11.161960]  dump_stack+0x72/0xa3
[   11.161960]  __lock_acquire+0xb7c/0xcb9
[   11.161960]  ? kvm_clock_read+0x1f/0x29
[   11.161960]  ? __lock_is_held+0x36/0x66
[   11.161960]  ? __lock_is_held+0x36/0x66
[   11.161960]  lock_acquire+0x106/0x18a
[   11.161960]  ? ext4_expand_extra_isize_ea+0x3d/0x4cd
[   11.161960]  down_write+0x39/0x72
[   11.161960]  ? ext4_expand_extra_isize_ea+0x3d/0x4cd
[   11.161960]  ext4_expand_extra_isize_ea+0x3d/0x4cd
[   11.161960]  ? _raw_read_unlock+0x22/0x2c
[   11.161960]  ? jbd2_journal_extend+0x1e2/0x262
[   11.161960]  ? __ext4_journal_get_write_access+0x3d/0x60
[   11.161960]  ext4_mark_inode_dirty+0x17d/0x26d
[   11.161960]  ? ext4_add_dirent_to_inline.isra.12+0xa5/0xb2
[   11.161960]  ext4_add_dirent_to_inline.isra.12+0xa5/0xb2
[   11.161960]  ext4_try_add_inline_entry+0x69/0x152
[   11.161960]  ext4_add_entry+0xa3/0x848
[   11.161960]  ? __brelse+0x14/0x2f
[   11.161960]  ? _raw_spin_unlock_irqrestore+0x44/0x4f
[   11.161960]  ext4_add_nondir+0x17/0x5b
[   11.161960]  ext4_create+0xcf/0x133
[   11.161960]  ? ext4_mknod+0x12f/0x12f
[   11.161960]  lookup_open+0x39e/0x3fb
[   11.161960]  ? __wake_up+0x1a/0x40
[   11.161960]  ? lock_acquire+0x11e/0x18a
[   11.161960]  path_openat+0x35c/0x67a
[   11.161960]  ? sched_clock_cpu+0xd7/0xf2
[   11.161960]  do_filp_open+0x36/0x7c
[   11.161960]  ? _raw_spin_unlock+0x22/0x2c
[   11.161960]  ? __alloc_fd+0x169/0x173
[   11.161960]  do_sys_open+0x59/0xcc
[   11.161960]  SyS_open+0x1d/0x1f
[   11.161960]  do_int80_syscall_32+0x4f/0x61
[   11.161960]  entry_INT80_32+0x2f/0x2f
[   11.161960] EIP: 0xb76ad469
[   11.161960] EFLAGS: 00000286 CPU: 0
[   11.161960] EAX: ffffffda EBX: 08168ac8 ECX: 00008241 EDX: 000001b6
[   11.161960] ESI: b75e46bc EDI: b7755000 EBP: bfbdb108 ESP: bfbdafc0
[   11.161960]  DS: 007b ES: 007b FS: 0000 GS: 0033 SS: 007b

Reported-by: George Spelvin <linux@sciencehorizons.net>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

---
 fs/ext4/inline.c |   66 +++++++++++++++++++++++++------------------------------
 fs/ext4/xattr.c  |   30 ++++++++++---------------
 fs/ext4/xattr.h  |   32 ++++++++++++++++++++++++++
 3 files changed, 74 insertions(+), 54 deletions(-)

--- a/fs/ext4/inline.c
+++ b/fs/ext4/inline.c
@@ -376,7 +376,7 @@ out:
 static int ext4_prepare_inline_data(handle_t *handle, struct inode *inode,
 				    unsigned int len)
 {
-	int ret, size;
+	int ret, size, no_expand;
 	struct ext4_inode_info *ei = EXT4_I(inode);
 
 	if (!ext4_test_inode_state(inode, EXT4_STATE_MAY_INLINE_DATA))
@@ -386,15 +386,14 @@ static int ext4_prepare_inline_data(hand
 	if (size < len)
 		return -ENOSPC;
 
-	down_write(&EXT4_I(inode)->xattr_sem);
+	ext4_write_lock_xattr(inode, &no_expand);
 
 	if (ei->i_inline_off)
 		ret = ext4_update_inline_data(handle, inode, len);
 	else
 		ret = ext4_create_inline_data(handle, inode, len);
 
-	up_write(&EXT4_I(inode)->xattr_sem);
-
+	ext4_write_unlock_xattr(inode, &no_expand);
 	return ret;
 }
 
@@ -523,7 +522,7 @@ static int ext4_convert_inline_data_to_e
 					      struct inode *inode,
 					      unsigned flags)
 {
-	int ret, needed_blocks;
+	int ret, needed_blocks, no_expand;
 	handle_t *handle = NULL;
 	int retries = 0, sem_held = 0;
 	struct page *page = NULL;
@@ -563,7 +562,7 @@ retry:
 		goto out;
 	}
 
-	down_write(&EXT4_I(inode)->xattr_sem);
+	ext4_write_lock_xattr(inode, &no_expand);
 	sem_held = 1;
 	/* If some one has already done this for us, just exit. */
 	if (!ext4_has_inline_data(inode)) {
@@ -600,7 +599,7 @@ retry:
 		put_page(page);
 		page = NULL;
 		ext4_orphan_add(handle, inode);
-		up_write(&EXT4_I(inode)->xattr_sem);
+		ext4_write_unlock_xattr(inode, &no_expand);
 		sem_held = 0;
 		ext4_journal_stop(handle);
 		handle = NULL;
@@ -626,7 +625,7 @@ out:
 		put_page(page);
 	}
 	if (sem_held)
-		up_write(&EXT4_I(inode)->xattr_sem);
+		ext4_write_unlock_xattr(inode, &no_expand);
 	if (handle)
 		ext4_journal_stop(handle);
 	brelse(iloc.bh);
@@ -719,7 +718,7 @@ convert:
 int ext4_write_inline_data_end(struct inode *inode, loff_t pos, unsigned len,
 			       unsigned copied, struct page *page)
 {
-	int ret;
+	int ret, no_expand;
 	void *kaddr;
 	struct ext4_iloc iloc;
 
@@ -737,7 +736,7 @@ int ext4_write_inline_data_end(struct in
 		goto out;
 	}
 
-	down_write(&EXT4_I(inode)->xattr_sem);
+	ext4_write_lock_xattr(inode, &no_expand);
 	BUG_ON(!ext4_has_inline_data(inode));
 
 	kaddr = kmap_atomic(page);
@@ -747,7 +746,7 @@ int ext4_write_inline_data_end(struct in
 	/* clear page dirty so that writepages wouldn't work for us. */
 	ClearPageDirty(page);
 
-	up_write(&EXT4_I(inode)->xattr_sem);
+	ext4_write_unlock_xattr(inode, &no_expand);
 	brelse(iloc.bh);
 out:
 	return copied;
@@ -758,7 +757,7 @@ ext4_journalled_write_inline_data(struct
 				  unsigned len,
 				  struct page *page)
 {
-	int ret;
+	int ret, no_expand;
 	void *kaddr;
 	struct ext4_iloc iloc;
 
@@ -768,11 +767,11 @@ ext4_journalled_write_inline_data(struct
 		return NULL;
 	}
 
-	down_write(&EXT4_I(inode)->xattr_sem);
+	ext4_write_lock_xattr(inode, &no_expand);
 	kaddr = kmap_atomic(page);
 	ext4_write_inline_data(inode, &iloc, kaddr, 0, len);
 	kunmap_atomic(kaddr);
-	up_write(&EXT4_I(inode)->xattr_sem);
+	ext4_write_unlock_xattr(inode, &no_expand);
 
 	return iloc.bh;
 }
@@ -1249,7 +1248,7 @@ out:
 int ext4_try_add_inline_entry(handle_t *handle, struct ext4_filename *fname,
 			      struct inode *dir, struct inode *inode)
 {
-	int ret, inline_size;
+	int ret, inline_size, no_expand;
 	void *inline_start;
 	struct ext4_iloc iloc;
 
@@ -1257,7 +1256,7 @@ int ext4_try_add_inline_entry(handle_t *
 	if (ret)
 		return ret;
 
-	down_write(&EXT4_I(dir)->xattr_sem);
+	ext4_write_lock_xattr(dir, &no_expand);
 	if (!ext4_has_inline_data(dir))
 		goto out;
 
@@ -1303,7 +1302,7 @@ int ext4_try_add_inline_entry(handle_t *
 
 out:
 	ext4_mark_inode_dirty(handle, dir);
-	up_write(&EXT4_I(dir)->xattr_sem);
+	ext4_write_unlock_xattr(dir, &no_expand);
 	brelse(iloc.bh);
 	return ret;
 }
@@ -1663,7 +1662,7 @@ int ext4_delete_inline_entry(handle_t *h
 			     struct buffer_head *bh,
 			     int *has_inline_data)
 {
-	int err, inline_size;
+	int err, inline_size, no_expand;
 	struct ext4_iloc iloc;
 	void *inline_start;
 
@@ -1671,7 +1670,7 @@ int ext4_delete_inline_entry(handle_t *h
 	if (err)
 		return err;
 
-	down_write(&EXT4_I(dir)->xattr_sem);
+	ext4_write_lock_xattr(dir, &no_expand);
 	if (!ext4_has_inline_data(dir)) {
 		*has_inline_data = 0;
 		goto out;
@@ -1705,7 +1704,7 @@ int ext4_delete_inline_entry(handle_t *h
 
 	ext4_show_inline_dir(dir, iloc.bh, inline_start, inline_size);
 out:
-	up_write(&EXT4_I(dir)->xattr_sem);
+	ext4_write_unlock_xattr(dir, &no_expand);
 	brelse(iloc.bh);
 	if (err != -ENOENT)
 		ext4_std_error(dir->i_sb, err);
@@ -1804,11 +1803,11 @@ out:
 
 int ext4_destroy_inline_data(handle_t *handle, struct inode *inode)
 {
-	int ret;
+	int ret, no_expand;
 
-	down_write(&EXT4_I(inode)->xattr_sem);
+	ext4_write_lock_xattr(inode, &no_expand);
 	ret = ext4_destroy_inline_data_nolock(handle, inode);
-	up_write(&EXT4_I(inode)->xattr_sem);
+	ext4_write_unlock_xattr(inode, &no_expand);
 
 	return ret;
 }
@@ -1893,7 +1892,7 @@ out:
 void ext4_inline_data_truncate(struct inode *inode, int *has_inline)
 {
 	handle_t *handle;
-	int inline_size, value_len, needed_blocks;
+	int inline_size, value_len, needed_blocks, no_expand;
 	size_t i_size;
 	void *value = NULL;
 	struct ext4_xattr_ibody_find is = {
@@ -1910,7 +1909,7 @@ void ext4_inline_data_truncate(struct in
 	if (IS_ERR(handle))
 		return;
 
-	down_write(&EXT4_I(inode)->xattr_sem);
+	ext4_write_lock_xattr(inode, &no_expand);
 	if (!ext4_has_inline_data(inode)) {
 		*has_inline = 0;
 		ext4_journal_stop(handle);
@@ -1968,7 +1967,7 @@ out_error:
 	up_write(&EXT4_I(inode)->i_data_sem);
 out:
 	brelse(is.iloc.bh);
-	up_write(&EXT4_I(inode)->xattr_sem);
+	ext4_write_unlock_xattr(inode, &no_expand);
 	kfree(value);
 	if (inode->i_nlink)
 		ext4_orphan_del(handle, inode);
@@ -1984,7 +1983,7 @@ out:
 
 int ext4_convert_inline_data(struct inode *inode)
 {
-	int error, needed_blocks;
+	int error, needed_blocks, no_expand;
 	handle_t *handle;
 	struct ext4_iloc iloc;
 
@@ -2006,15 +2005,10 @@ int ext4_convert_inline_data(struct inod
 		goto out_free;
 	}
 
-	down_write(&EXT4_I(inode)->xattr_sem);
-	if (!ext4_has_inline_data(inode)) {
-		up_write(&EXT4_I(inode)->xattr_sem);
-		goto out;
-	}
-
-	error = ext4_convert_inline_data_nolock(handle, inode, &iloc);
-	up_write(&EXT4_I(inode)->xattr_sem);
-out:
+	ext4_write_lock_xattr(inode, &no_expand);
+	if (ext4_has_inline_data(inode))
+		error = ext4_convert_inline_data_nolock(handle, inode, &iloc);
+	ext4_write_unlock_xattr(inode, &no_expand);
 	ext4_journal_stop(handle);
 out_free:
 	brelse(iloc.bh);
--- a/fs/ext4/xattr.c
+++ b/fs/ext4/xattr.c
@@ -1174,16 +1174,14 @@ ext4_xattr_set_handle(handle_t *handle,
 	struct ext4_xattr_block_find bs = {
 		.s = { .not_found = -ENODATA, },
 	};
-	unsigned long no_expand;
+	int no_expand;
 	int error;
 
 	if (!name)
 		return -EINVAL;
 	if (strlen(name) > 255)
 		return -ERANGE;
-	down_write(&EXT4_I(inode)->xattr_sem);
-	no_expand = ext4_test_inode_state(inode, EXT4_STATE_NO_EXPAND);
-	ext4_set_inode_state(inode, EXT4_STATE_NO_EXPAND);
+	ext4_write_lock_xattr(inode, &no_expand);
 
 	error = ext4_reserve_inode_write(handle, inode, &is.iloc);
 	if (error)
@@ -1251,7 +1249,7 @@ ext4_xattr_set_handle(handle_t *handle,
 		ext4_xattr_update_super_block(handle, inode->i_sb);
 		inode->i_ctime = ext4_current_time(inode);
 		if (!value)
-			ext4_clear_inode_state(inode, EXT4_STATE_NO_EXPAND);
+			no_expand = 0;
 		error = ext4_mark_iloc_dirty(handle, inode, &is.iloc);
 		/*
 		 * The bh is consumed by ext4_mark_iloc_dirty, even with
@@ -1265,9 +1263,7 @@ ext4_xattr_set_handle(handle_t *handle,
 cleanup:
 	brelse(is.iloc.bh);
 	brelse(bs.bh);
-	if (no_expand == 0)
-		ext4_clear_inode_state(inode, EXT4_STATE_NO_EXPAND);
-	up_write(&EXT4_I(inode)->xattr_sem);
+	ext4_write_unlock_xattr(inode, &no_expand);
 	return error;
 }
 
@@ -1484,12 +1480,11 @@ int ext4_expand_extra_isize_ea(struct in
 	int error = 0, tried_min_extra_isize = 0;
 	int s_min_extra_isize = le16_to_cpu(EXT4_SB(inode->i_sb)->s_es->s_min_extra_isize);
 	int isize_diff;	/* How much do we need to grow i_extra_isize */
+	int no_expand;
+
+	if (ext4_write_trylock_xattr(inode, &no_expand) == 0)
+		return 0;
 
-	down_write(&EXT4_I(inode)->xattr_sem);
-	/*
-	 * Set EXT4_STATE_NO_EXPAND to avoid recursion when marking inode dirty
-	 */
-	ext4_set_inode_state(inode, EXT4_STATE_NO_EXPAND);
 retry:
 	isize_diff = new_extra_isize - EXT4_I(inode)->i_extra_isize;
 	if (EXT4_I(inode)->i_extra_isize >= new_extra_isize)
@@ -1571,17 +1566,16 @@ shift:
 	EXT4_I(inode)->i_extra_isize = new_extra_isize;
 	brelse(bh);
 out:
-	ext4_clear_inode_state(inode, EXT4_STATE_NO_EXPAND);
-	up_write(&EXT4_I(inode)->xattr_sem);
+	ext4_write_unlock_xattr(inode, &no_expand);
 	return 0;
 
 cleanup:
 	brelse(bh);
 	/*
-	 * We deliberately leave EXT4_STATE_NO_EXPAND set here since inode
-	 * size expansion failed.
+	 * Inode size expansion failed; don't try again
 	 */
-	up_write(&EXT4_I(inode)->xattr_sem);
+	no_expand = 1;
+	ext4_write_unlock_xattr(inode, &no_expand);
 	return error;
 }
 
--- a/fs/ext4/xattr.h
+++ b/fs/ext4/xattr.h
@@ -102,6 +102,38 @@ extern const struct xattr_handler ext4_x
 
 #define EXT4_XATTR_NAME_ENCRYPTION_CONTEXT "c"
 
+/*
+ * The EXT4_STATE_NO_EXPAND is overloaded and used for two purposes.
+ * The first is to signal that there the inline xattrs and data are
+ * taking up so much space that we might as well not keep trying to
+ * expand it.  The second is that xattr_sem is taken for writing, so
+ * we shouldn't try to recurse into the inode expansion.  For this
+ * second case, we need to make sure that we take save and restore the
+ * NO_EXPAND state flag appropriately.
+ */
+static inline void ext4_write_lock_xattr(struct inode *inode, int *save)
+{
+	down_write(&EXT4_I(inode)->xattr_sem);
+	*save = ext4_test_inode_state(inode, EXT4_STATE_NO_EXPAND);
+	ext4_set_inode_state(inode, EXT4_STATE_NO_EXPAND);
+}
+
+static inline int ext4_write_trylock_xattr(struct inode *inode, int *save)
+{
+	if (down_write_trylock(&EXT4_I(inode)->xattr_sem) == 0)
+		return 0;
+	*save = ext4_test_inode_state(inode, EXT4_STATE_NO_EXPAND);
+	ext4_set_inode_state(inode, EXT4_STATE_NO_EXPAND);
+	return 1;
+}
+
+static inline void ext4_write_unlock_xattr(struct inode *inode, int *save)
+{
+	if (*save == 0)
+		ext4_clear_inode_state(inode, EXT4_STATE_NO_EXPAND);
+	up_write(&EXT4_I(inode)->xattr_sem);
+}
+
 extern ssize_t ext4_listxattr(struct dentry *, char *, size_t);
 
 extern int ext4_xattr_get(struct inode *, int, const char *, void *, size_t);

  parent reply	other threads:[~2017-03-10  9:17 UTC|newest]

Thread overview: 152+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-10  9:07 [PATCH 4.9 000/153] 4.9.14-stable review Greg Kroah-Hartman
2017-03-10  9:07 ` [PATCH 4.9 001/153] MIPS: pic32mzda: Fix linker error for pic32_get_pbclk() Greg Kroah-Hartman
2017-03-10  9:07 ` [PATCH 4.9 002/153] MIPS: Fix special case in 64 bit IP checksumming Greg Kroah-Hartman
2017-03-10  9:07 ` [PATCH 4.9 004/153] MIPS: OCTEON: Fix copy_from_user fault handling for large buffers Greg Kroah-Hartman
2017-03-10  9:07 ` [PATCH 4.9 005/153] MIPS: Lantiq: Keep ethernet enabled during boot Greg Kroah-Hartman
2017-03-10  9:07 ` [PATCH 4.9 006/153] MIPS: Clear ISA bit correctly in get_frame_info() Greg Kroah-Hartman
2017-03-10  9:07 ` [PATCH 4.9 007/153] MIPS: Prevent unaligned accesses during stack unwinding Greg Kroah-Hartman
2017-03-10  9:07 ` [PATCH 4.9 008/153] MIPS: Fix get_frame_info() handling of microMIPS function size Greg Kroah-Hartman
2017-03-10  9:07 ` [PATCH 4.9 009/153] MIPS: Fix is_jump_ins() handling of 16b microMIPS instructions Greg Kroah-Hartman
2017-03-10  9:07 ` [PATCH 4.9 010/153] MIPS: Calculate microMIPS ra properly when unwinding the stack Greg Kroah-Hartman
2017-03-10  9:07 ` [PATCH 4.9 011/153] MIPS: Handle microMIPS jumps in the same way as MIPS32/MIPS64 jumps Greg Kroah-Hartman
2017-03-10  9:07 ` [PATCH 4.9 012/153] mmc: sdhci-acpi: support deferred probe Greg Kroah-Hartman
2017-03-10  9:07 ` [PATCH 4.9 013/153] [media] am437x-vpfe: always assign bpp variable Greg Kroah-Hartman
2017-03-10  9:07 ` [PATCH 4.9 014/153] [media] uvcvideo: Fix a wrong macro Greg Kroah-Hartman
2017-03-10  9:07 ` [PATCH 4.9 015/153] [media] media: fix dm1105.c build error Greg Kroah-Hartman
2017-03-10  9:07 ` [PATCH 4.9 017/153] [media] lirc_dev: LIRC_{G,S}ET_REC_MODE do not work Greg Kroah-Hartman
2017-03-10  9:07 ` [PATCH 4.9 018/153] [media] media: Properly pass through media entity types in entity enumeration Greg Kroah-Hartman
2017-03-10  9:07 ` Greg Kroah-Hartman [this message]
2017-03-10  9:07 ` [PATCH 4.9 020/153] spi: s3c64xx: fix inconsistency between binding and driver Greg Kroah-Hartman
2017-03-10  9:07 ` [PATCH 4.9 021/153] ARM: at91: define LPDDR types Greg Kroah-Hartman
2017-03-10  9:07 ` [PATCH 4.9 022/153] ARM: dts: at91: Enable DMA on sama5d4_xplained console Greg Kroah-Hartman
2017-03-10  9:07 ` [PATCH 4.9 023/153] ARM: dts: at91: Enable DMA on sama5d2_xplained console Greg Kroah-Hartman
2017-03-10  9:07 ` [PATCH 4.9 024/153] ALSA: hda/realtek - Cannot adjust speakers volume on a Dell AIO Greg Kroah-Hartman
2017-03-10  9:07 ` [PATCH 4.9 025/153] ALSA: hda - fix Lewisburg audio issue Greg Kroah-Hartman
2017-03-10  9:07 ` [PATCH 4.9 026/153] ALSA: timer: Reject user params with too small ticks Greg Kroah-Hartman
2017-03-10  9:07 ` [PATCH 4.9 027/153] ALSA: ctxfi: Fallback DMA mask to 32bit Greg Kroah-Hartman
2017-03-10  9:07 ` [PATCH 4.9 028/153] ALSA: seq: Fix link corruption by event error handling Greg Kroah-Hartman
2017-03-10  9:07 ` [PATCH 4.9 029/153] ALSA: hda - Add subwoofer support for Dell Inspiron 17 7000 Gaming Greg Kroah-Hartman
2017-03-10  9:07 ` [PATCH 4.9 030/153] ALSA: hda - Fix micmute hotkey problem for a lenovo AIO machine Greg Kroah-Hartman
2017-03-10  9:07 ` [PATCH 4.9 031/153] hwmon: (it87) Do not overwrite bit 2..6 of pwm control registers Greg Kroah-Hartman
2017-03-10  9:07 ` [PATCH 4.9 032/153] hwmon: (it87) Ensure that pwm control cache is current before updating values Greg Kroah-Hartman
2017-03-10  9:07 ` [PATCH 4.9 033/153] staging: greybus: loopback: fix broken udelay Greg Kroah-Hartman
2017-03-10  9:07 ` [PATCH 4.9 034/153] staging/lustre/lnet: Fix allocation size for sv_cpt_data Greg Kroah-Hartman
2017-03-10  9:07 ` [PATCH 4.9 035/153] staging: rtl: fix possible NULL pointer dereference Greg Kroah-Hartman
2017-03-10  9:07 ` [PATCH 4.9 036/153] coresight: STM: Balance enable/disable Greg Kroah-Hartman
2017-03-10  9:07 ` [PATCH 4.9 037/153] regulator: Fix regulator_summary for deviceless consumers Greg Kroah-Hartman
2017-03-10  9:07 ` [PATCH 4.9 038/153] tpm_tis: fix the error handling of init_tis() Greg Kroah-Hartman
2017-03-10  9:07 ` [PATCH 4.9 039/153] iommu/vt-d: Fix some macros that are incorrectly specified in intel-iommu Greg Kroah-Hartman
2017-03-10  9:07 ` [PATCH 4.9 040/153] iommu/vt-d: Tylersburg isoch identity map check is done too late Greg Kroah-Hartman
2017-03-10  9:07 ` [PATCH 4.9 041/153] CIFS: Fix splice read for non-cached files Greg Kroah-Hartman
2017-03-10  9:07 ` [PATCH 4.9 042/153] mm, devm_memremap_pages: hold device_hotplug lock over mem_hotplug_{begin, done} Greg Kroah-Hartman
2017-03-10  9:07 ` [PATCH 4.9 043/153] mm/page_alloc: fix nodes for reclaim in fast path Greg Kroah-Hartman
2017-03-10  9:07 ` [PATCH 4.9 044/153] mm: vmpressure: fix sending wrong events on underflow Greg Kroah-Hartman
2017-03-10  9:07 ` [PATCH 4.9 045/153] mm: do not access page->mapping directly on page_endio Greg Kroah-Hartman
2017-03-10  9:07 ` [PATCH 4.9 046/153] mm balloon: umount balloon_mnt when removing vb device Greg Kroah-Hartman
2017-03-10  9:08 ` [PATCH 4.9 047/153] mm, vmscan: cleanup lru size claculations Greg Kroah-Hartman
2017-03-10  9:08 ` [PATCH 4.9 048/153] mm, vmscan: consider eligible zones in get_scan_count Greg Kroah-Hartman
2017-03-10  9:08 ` [PATCH 4.9 049/153] sigaltstack: support SS_AUTODISARM for CONFIG_COMPAT Greg Kroah-Hartman
2017-03-10  9:08 ` [PATCH 4.9 050/153] ipc/shm: Fix shmat mmap nil-page protection Greg Kroah-Hartman
2017-03-10  9:08 ` [PATCH 4.9 051/153] ima: fix ima_d_path() possible race with rename Greg Kroah-Hartman
2017-03-10  9:08 ` [PATCH 4.9 052/153] PM / devfreq: Fix available_governor sysfs Greg Kroah-Hartman
2017-03-10  9:08 ` [PATCH 4.9 053/153] PM / devfreq: Fix wrong trans_stat of passive devfreq device Greg Kroah-Hartman
2017-03-10  9:08 ` [PATCH 4.9 054/153] dm cache: fix corruption seen when using cache > 2TB Greg Kroah-Hartman
2017-03-10  9:08 ` [PATCH 4.9 055/153] dm stats: fix a leaked s->histogram_boundaries array Greg Kroah-Hartman
2017-03-10  9:08 ` [PATCH 4.9 056/153] dm round robin: revert "use percpu repeat_count and current_path" Greg Kroah-Hartman
2017-03-10  9:08 ` [PATCH 4.9 057/153] dm raid: fix data corruption on reshape request Greg Kroah-Hartman
2017-03-10  9:08 ` [PATCH 4.9 058/153] scsi: storvsc: use tagged SRB requests if supported by the device Greg Kroah-Hartman
2017-03-10  9:08 ` [PATCH 4.9 059/153] scsi: storvsc: properly handle SRB_ERROR when sense message is present Greg Kroah-Hartman
2017-03-10  9:08 ` [PATCH 4.9 060/153] scsi: storvsc: properly set residual data length on errors Greg Kroah-Hartman
2017-03-10  9:08 ` [PATCH 4.9 061/153] scsi: aacraid: Reorder Adapter status check Greg Kroah-Hartman
2017-03-10  9:08 ` [PATCH 4.9 062/153] scsi: use scsi_device_from_queue() for scsi_dh Greg Kroah-Hartman
2017-03-10  9:08 ` [PATCH 4.9 063/153] power: reset: at91-poweroff: timely shutdown LPDDR memories Greg Kroah-Hartman
2017-03-10  9:08 ` [PATCH 4.9 064/153] Fix: Disable sys_membarrier when nohz_full is enabled Greg Kroah-Hartman
2017-03-10  9:08 ` [PATCH 4.9 065/153] jbd2: dont leak modified metadata buffers on an aborted journal Greg Kroah-Hartman
2017-03-10  9:08 ` [PATCH 4.9 066/153] block/loop: fix race between I/O and set_status Greg Kroah-Hartman
2017-03-10  9:08 ` [PATCH 4.9 067/153] loop: fix LO_FLAGS_PARTSCAN hang Greg Kroah-Hartman
2017-03-10  9:08 ` [PATCH 4.9 068/153] ext4: Include forgotten start block on fallocate insert range Greg Kroah-Hartman
2017-03-10  9:08 ` [PATCH 4.9 069/153] ext4: do not polute the extents cache while shifting extents Greg Kroah-Hartman
2017-03-10  9:08 ` [PATCH 4.9 070/153] ext4: trim allocation requests to group size Greg Kroah-Hartman
2017-03-10  9:08 ` [PATCH 4.9 071/153] ext4: fix data corruption in data=journal mode Greg Kroah-Hartman
2017-03-10  9:08 ` [PATCH 4.9 072/153] ext4: fix use-after-iput when fscrypt contexts are inconsistent Greg Kroah-Hartman
2017-03-10  9:08 ` [PATCH 4.9 073/153] ext4: fix inline data error paths Greg Kroah-Hartman
2017-03-10  9:08 ` [PATCH 4.9 074/153] ext4: preserve the needs_recovery flag when the journal is aborted Greg Kroah-Hartman
2017-03-10  9:08 ` [PATCH 4.9 075/153] ext4: return EROFS if device is r/o and journal replay is needed Greg Kroah-Hartman
2017-03-10  9:08 ` [PATCH 4.9 077/153] mei: remove support for broken parallel read Greg Kroah-Hartman
2017-03-10  9:08 ` [PATCH 4.9 078/153] ath10k: fix boot failure in UTF mode/testmode Greg Kroah-Hartman
2017-03-10  9:08 ` [PATCH 4.9 079/153] ath5k: drop bogus warning on drv_set_key with unsupported cipher Greg Kroah-Hartman
2017-03-10  9:08 ` [PATCH 4.9 080/153] ath9k: fix race condition in enabling/disabling IRQs Greg Kroah-Hartman
2017-03-10  9:08 ` [PATCH 4.9 081/153] ath9k: use correct OTP register offsets for the AR9340 and AR9550 Greg Kroah-Hartman
2017-03-10  9:08 ` [PATCH 4.9 082/153] PCI: hv: Fix wslot_to_devfn() to fix warnings on device removal Greg Kroah-Hartman
2017-03-10  9:08 ` [PATCH 4.9 083/153] pci/hotplug/pnv-php: Disable MSI and PCI device properly Greg Kroah-Hartman
2017-03-10  9:08 ` [PATCH 4.9 084/153] PCI: altera: Fix TLP_CFG_DW0 for TLP write Greg Kroah-Hartman
2017-03-10  9:08 ` [PATCH 4.9 085/153] Drivers: hv: vmbus: Raise retry/wait limits in vmbus_post_msg() Greg Kroah-Hartman
2017-03-10  9:08 ` [PATCH 4.9 086/153] perf callchain: Reference count maps Greg Kroah-Hartman
2017-03-10  9:08 ` [PATCH 4.9 087/153] crypto: testmgr - Pad aes_ccm_enc_tv_template vector Greg Kroah-Hartman
2017-03-10  9:08 ` [PATCH 4.9 088/153] fuse: add missing FR_FORCE Greg Kroah-Hartman
2017-03-10  9:08 ` [PATCH 4.9 089/153] x86/pkeys: Check against max pkey to avoid overflows Greg Kroah-Hartman
2017-03-10  9:08 ` [PATCH 4.9 090/153] arm/arm64: KVM: Enforce unconditional flush to PoC when mapping to stage-2 Greg Kroah-Hartman
2017-03-10  9:08 ` [PATCH 4.9 091/153] arm64: dma-mapping: Fix dma_mapping_error() when bypassing SWIOTLB Greg Kroah-Hartman
2017-03-10  9:08 ` [PATCH 4.9 092/153] arm64: fix erroneous __raw_read_system_reg() cases Greg Kroah-Hartman
2017-03-10  9:08 ` [PATCH 4.9 093/153] KVM: arm/arm64: vgic: Stop injecting the MSI occurrence twice Greg Kroah-Hartman
2017-03-10  9:08 ` [PATCH 4.9 094/153] iio: pressure: mpl115: do not rely on structure field ordering Greg Kroah-Hartman
2017-03-10  9:08 ` [PATCH 4.9 095/153] iio: pressure: mpl3115: " Greg Kroah-Hartman
2017-03-10  9:08 ` [PATCH 4.9 096/153] can: gs_usb: Dont use stack memory for USB transfers Greg Kroah-Hartman
2017-03-10  9:08 ` [PATCH 4.9 097/153] can: usb_8dev: Fix memory leak of priv->cmd_msg_buffer Greg Kroah-Hartman
2017-03-10  9:08 ` [PATCH 4.9 098/153] w1: dont leak refcount on slave attach failure in w1_attach_slave_device() Greg Kroah-Hartman
2017-03-10  9:08 ` [PATCH 4.9 099/153] w1: ds2490: USB transfer buffers need to be DMAable Greg Kroah-Hartman
2017-03-10  9:08 ` [PATCH 4.9 100/153] usb: musb: da8xx: Remove CPPI 3.0 quirk and methods Greg Kroah-Hartman
2017-03-10  9:08 ` [PATCH 4.9 101/153] usb: dwc3: gadget: skip Set/Clear Halt when invalid Greg Kroah-Hartman
2017-03-10  9:08 ` [PATCH 4.9 102/153] usb: host: xhci: plat: check hcc_params after add hcd Greg Kroah-Hartman
2017-03-10  9:08 ` [PATCH 4.9 103/153] usb: gadget: udc-core: Rescan pending list on driver unbind Greg Kroah-Hartman
2017-03-10  9:08 ` [PATCH 4.9 104/153] usb: gadget: udc: fsl: Add missing complete function Greg Kroah-Hartman
2017-03-10  9:08 ` [PATCH 4.9 105/153] usb: gadget: f_hid: fix: Free out requests Greg Kroah-Hartman
2017-03-10  9:08 ` [PATCH 4.9 106/153] usb: gadget: f_hid: fix: Prevent accessing released memory Greg Kroah-Hartman
2017-03-10  9:09 ` [PATCH 4.9 107/153] usb: gadget: f_hid: Use spinlock instead of mutex Greg Kroah-Hartman
2017-03-10  9:09 ` [PATCH 4.9 108/153] hv: allocate synic pages for all present CPUs Greg Kroah-Hartman
2017-03-10  9:09 ` [PATCH 4.9 109/153] hv: init percpu_list in hv_synic_alloc() Greg Kroah-Hartman
2017-03-10  9:09 ` [PATCH 4.9 110/153] hv: dont reset hv_context.tsc_page on crash Greg Kroah-Hartman
2017-03-10  9:09 ` [PATCH 4.9 111/153] Drivers: hv: vmbus: Prevent sending data on a rescinded channel Greg Kroah-Hartman
2017-03-10  9:09 ` [PATCH 4.9 112/153] Drivers: hv: vmbus: Fix a rescind handling bug Greg Kroah-Hartman
2017-03-10  9:09 ` [PATCH 4.9 113/153] Drivers: hv: util: kvp: Fix a rescind processing issue Greg Kroah-Hartman
2017-03-10  9:09 ` [PATCH 4.9 114/153] Drivers: hv: util: Fcopy: " Greg Kroah-Hartman
2017-03-10  9:09 ` [PATCH 4.9 115/153] Drivers: hv: util: Backup: " Greg Kroah-Hartman
2017-03-10  9:09 ` [PATCH 4.9 116/153] RDMA/core: Fix incorrect structure packing for booleans Greg Kroah-Hartman
2017-03-10  9:09 ` [PATCH 4.9 117/153] rdma_cm: fail iwarp accepts w/o connection params Greg Kroah-Hartman
2017-03-10  9:09 ` [PATCH 4.9 118/153] gfs2: Add missing rcu locking for glock lookup Greg Kroah-Hartman
2017-03-10  9:09 ` [PATCH 4.9 119/153] remoteproc: qcom: mdt_loader: Dont overwrite firmware object Greg Kroah-Hartman
2017-03-10  9:09 ` [PATCH 4.9 120/153] rtlwifi: Fix alignment issues Greg Kroah-Hartman
2017-03-10  9:09 ` [PATCH 4.9 121/153] rtlwifi: rtl8192c-common: Fix "BUG: KASAN: Greg Kroah-Hartman
2017-03-10  9:09 ` [PATCH 4.9 122/153] VME: restore bus_remove function causing incomplete module unload Greg Kroah-Hartman
2017-03-10  9:09 ` [PATCH 4.9 123/153] nfsd: minor nfsd_setattr cleanup Greg Kroah-Hartman
2017-03-10  9:09 ` [PATCH 4.9 124/153] nfsd: special case truncates some more Greg Kroah-Hartman
2017-03-10  9:09 ` [PATCH 4.9 125/153] NFSv4: Fix memory and state leak in _nfs4_open_and_get_state Greg Kroah-Hartman
2017-03-10  9:09 ` [PATCH 4.9 126/153] NFSv4: Fix reboot recovery in copy offload Greg Kroah-Hartman
2017-03-10  9:09 ` [PATCH 4.9 127/153] pNFS/flexfiles: If the layout is invalid, it must be updated before retrying Greg Kroah-Hartman
2017-03-10  9:09 ` [PATCH 4.9 128/153] NFSv4: fix getacl head length estimation Greg Kroah-Hartman
2017-03-10  9:09 ` [PATCH 4.9 129/153] NFSv4: fix getacl ERANGE for some ACL buffer sizes Greg Kroah-Hartman
2017-03-10  9:09 ` [PATCH 4.9 130/153] f2fs: fix a problem of using memory after free Greg Kroah-Hartman
2017-03-10  9:09 ` [PATCH 4.9 131/153] f2fs: fix multiple f2fs_add_link() calls having same name Greg Kroah-Hartman
2017-03-10  9:09 ` [PATCH 4.9 132/153] f2fs: add ovp valid_blocks check for bg gc victim to fg_gc Greg Kroah-Hartman
2017-03-10  9:09 ` [PATCH 4.9 133/153] f2fs: avoid to issue redundant discard commands Greg Kroah-Hartman
2017-03-10  9:09 ` [PATCH 4.9 134/153] rtc: sun6i: Disable the build as a module Greg Kroah-Hartman
2017-03-10  9:09 ` [PATCH 4.9 135/153] rtc: sun6i: Add some locking Greg Kroah-Hartman
2017-03-10  9:09 ` [PATCH 4.9 136/153] rtc: sun6i: Switch to the external oscillator Greg Kroah-Hartman
2017-03-10  9:09 ` [PATCH 4.9 137/153] md linear: fix a race between linear_add() and linear_congested() Greg Kroah-Hartman
2017-03-10  9:09 ` [PATCH 4.9 139/153] mtd: nand: ifc: Fix location of eccstat registers for IFC V1.0 Greg Kroah-Hartman
2017-03-10  9:09 ` [PATCH 4.9 140/153] dmaengine: ipu: Make sure the interrupt routine checks all interrupts Greg Kroah-Hartman
2017-03-10  9:09 ` [PATCH 4.9 141/153] xprtrdma: Fix Read chunk padding Greg Kroah-Hartman
2017-03-10  9:09 ` [PATCH 4.9 142/153] xprtrdma: Per-connection pad optimization Greg Kroah-Hartman
2017-03-10  9:09 ` [PATCH 4.9 143/153] xprtrdma: Disable pad optimization by default Greg Kroah-Hartman
2017-03-10  9:09 ` [PATCH 4.9 144/153] xprtrdma: Reduce required number of send SGEs Greg Kroah-Hartman
2017-03-10  9:09 ` [PATCH 4.9 145/153] powerpc/xmon: Fix data-breakpoint Greg Kroah-Hartman
2017-03-10  9:09 ` [PATCH 4.9 146/153] powerpc/mm: Add MMU_FTR_KERNEL_RO to possible feature mask Greg Kroah-Hartman
2017-03-10  9:09 ` [PATCH 4.9 147/153] powerpc/mm/hash: Always clear UPRT and Host Radix bits when setting up CPU Greg Kroah-Hartman
2017-03-10  9:09 ` [PATCH 4.9 148/153] MIPS: IP22: Reformat inline assembler code to modern standards Greg Kroah-Hartman
2017-03-10  9:09 ` [PATCH 4.9 149/153] MIPS: IP22: Fix build error due to binutils 2.25 uselessnes Greg Kroah-Hartman
2017-03-10  9:09 ` [PATCH 4.9 150/153] scsi: lpfc: Correct WQ creation for pagesize Greg Kroah-Hartman
2017-03-10  9:09 ` [PATCH 4.9 151/153] ceph: update readpages osd request according to size of pages Greg Kroah-Hartman
2017-03-10  9:09 ` [PATCH 4.9 152/153] netfilter: conntrack: remove GC_MAX_EVICTS break Greg Kroah-Hartman
2017-03-10  9:09 ` [PATCH 4.9 153/153] netfilter: conntrack: refine gc worker heuristics, redux Greg Kroah-Hartman
2017-03-10 18:36 ` [PATCH 4.9 000/153] 4.9.14-stable review Guenter Roeck
2017-03-10 19:13 ` Shuah Khan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170310083948.276793954@linuxfoundation.org \
    --to=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@sciencehorizons.net \
    --cc=stable@vger.kernel.org \
    --cc=tytso@mit.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).