All of lore.kernel.org
 help / color / mirror / Atom feed
* Patch "xfs: fix up backport error in fs/xfs/xfs_inode.c" has been added to the 3.14-stable tree
@ 2016-06-22  5:22 gregkh
  0 siblings, 0 replies; only message in thread
From: gregkh @ 2016-06-22  5:22 UTC (permalink / raw)
  To: gregkh, david, jslaby, spender, w, whissi; +Cc: stable, stable-commits


This is a note to let you know that I've just added the patch titled

    xfs: fix up backport error in fs/xfs/xfs_inode.c

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:
     xfs-fix-up-backport-error-in-fs-xfs-xfs_inode.c.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 <stable@vger.kernel.org> know about it.


>From foo@baz Tue Jun 21 22:19:10 PDT 2016
Date: Tue, 21 Jun 2016 22:19:10 -0700
To: Greg KH <gregkh@linuxfoundation.org>
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Subject: xfs: fix up backport error in fs/xfs/xfs_inode.c

From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

Commit c66edeaf79bb6f0ca688ffec9ca50a61b7569984, which was a backport of
commit b1438f477934f5a4d5a44df26f3079a7575d5946 upstream, needed to have
the error value be positive, not negative, in order to work properly.

Reported-by: "Thomas D." <whissi@whissi.de>
Reported-by: Brad Spender <spender@grsecurity.net>
Cc: Dave Chinner <david@fromorbit.com>
Cc: Willy Tarreau <w@1wt.eu>
Cc: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

---
 fs/xfs/xfs_inode.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/fs/xfs/xfs_inode.c
+++ b/fs/xfs/xfs_inode.c
@@ -3098,7 +3098,7 @@ xfs_iflush(
 	 */
 	error = xfs_imap_to_bp(mp, NULL, &ip->i_imap, &dip, &bp, XBF_TRYLOCK,
 			       0);
-	if (error == -EAGAIN) {
+	if (error == EAGAIN) {
 		xfs_ifunlock(ip);
 		return error;
 	}


Patches currently in stable-queue which might be from gregkh@linuxfoundation.org are

queue-3.14/powerpc-fix-definition-of-siar-and-sdar-registers.patch
queue-3.14/fix-d_walk-non-delayed-__d_free-race.patch
queue-3.14/powerpc-pseries-eeh-handle-rtas-delay-requests-in-configure_bridge.patch
queue-3.14/ecryptfs-forbid-opening-files-without-mmap-handler.patch
queue-3.14/xfs-fix-up-backport-error-in-fs-xfs-xfs_inode.c.patch
queue-3.14/kvm-x86-fix-oops-after-invalid-kvm_set_debugregs.patch
queue-3.14/parisc-fix-pagefault-crash-in-unaligned-__get_user-call.patch
queue-3.14/sfc-on-mc-reset-clear-pio-buffer-linkage-in-txqs.patch
queue-3.14/powerpc-use-privileged-spr-number-for-mmcr2.patch
queue-3.14/crypto-ccp-fix-aes-xts-error-for-request-sizes-above-4096.patch
queue-3.14/netfilter-x_tables-make-sure-e-next_offset-covers-remaining-blob-size.patch
queue-3.14/mips-fix-64k-page-support-for-32-bit-kernels.patch
queue-3.14/wext-fix-32-bit-iwpriv-compatibility-issue-with-64-bit-kernel.patch
queue-3.14/tcp-record-tlp-and-er-timer-stats-in-v6-stats.patch
queue-3.14/netlink-fix-dump-skb-leak-double-free.patch
queue-3.14/arm-fix-ptrace_setvfpregs-on-smp-systems.patch
queue-3.14/netfilter-x_tables-fix-unconditional-helper.patch

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-06-22  5:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-22  5:22 Patch "xfs: fix up backport error in fs/xfs/xfs_inode.c" has been added to the 3.14-stable tree gregkh

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.