Patch "xfs: fix up backport error in fs/xfs/xfs_inode.c" has been added to the 3.14-stable tree

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

 



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@xxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxx>
From: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
Subject: xfs: fix up backport error in fs/xfs/xfs_inode.c

From: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>

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@xxxxxxxxx>
Reported-by: Brad Spender <spender@xxxxxxxxxxxxxx>
Cc: Dave Chinner <david@xxxxxxxxxxxxx>
Cc: Willy Tarreau <w@xxxxxx>
Cc: Jiri Slaby <jslaby@xxxxxxx>
Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>

---
 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@xxxxxxxxxxxxxxxxxxx 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
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]