Re: [PATCH v2] Btrfs: fix NULL pointer dereference in log_dir_items

2018-04-05 Thread Greg KH
On Thu, Apr 05, 2018 at 07:11:14PM +0200, David Sterba wrote: > On Thu, Apr 05, 2018 at 04:42:34PM +, Sasha Levin wrote: > > Hi. > > > > [This is an automated email] > > > > This commit has been processed by the -stable helper bot and determined > > to be a high probability candidate for

Re: [PATCH] Fix NULL pointer exception in find_bio_stripe()

2018-02-16 Thread Greg KH
On Fri, Feb 16, 2018 at 07:51:38PM +, Dmitriy Gorokh wrote: > On detaching of a disk which is a part of a RAID6 filesystem, the following > kernel OOPS may happen: > > [63122.680461] BTRFS error (device sdo): bdev /dev/sdo errs: wr 0, rd 0, > flush 1, corrupt 0, gen 0 > [63122.719584]

Re: please include 17024ad0a0fd ("Btrfs: fix early ENOSPC due to delalloc") to 4.12 stable

2017-08-04 Thread Greg KH
On Fri, Aug 04, 2017 at 11:25:14PM +0300, Nikolay Borisov wrote: > Hello, > > I'd like to aforementioned patch to be applied to stable 4.9/4.12. The > attached backport applies cleanly to both of them. Thanks, I'll queue it up after this next release happens. greg k-h -- To unsubscribe from

Re: [REVERT][v4.10][V2] btrfs: bugfix: handle FS_IOC32_{GETFLAGS,SETFLAGS,GETVERSION} in btrfs_ioctl

2017-02-02 Thread Greg KH
On Thu, Feb 02, 2017 at 02:58:16PM -0500, Joseph Salisbury wrote: > On 02/02/2017 01:23 PM, Greg KH wrote: > > On Thu, Feb 02, 2017 at 12:38:33PM -0500, Joseph Salisbury wrote: > >> Hello, > >> > >> Please consider reverting commit > >> 4c63c2454eff99

Re: Subject: [REVERT][v4.x.y] btrfs: bugfix: handle FS_IOC32_{GETFLAGS,SETFLAGS,GETVERSION} in btrfs_ioctl

2017-02-02 Thread Greg KH
On Thu, Feb 02, 2017 at 12:38:33PM -0500, Joseph Salisbury wrote: > Hello, > > Please consider reverting commit > 4c63c2454eff996c5e27991221106eb511f7db38 in the next v4.x.y release. What release can I remove it from? It isn't in 4.4.y, and 4.9.y doesn't make much sense, unless it's reverted in

Re: [GIT PULL] [PATCH v4 00/26] Delete CURRENT_TIME and CURRENT_TIME_SEC macros

2016-08-16 Thread Greg KH
On Tue, Aug 16, 2016 at 11:18:52AM -0700, Deepa Dinamani wrote: > Thank you for the suggestion. > > > Who are you execting to pull this huge patch series? > > The last pull request was addressed to Al as per Arnd's suggestion. > I'm not completely sure who should it be addressed to. > > > Why

Re: [GIT PULL] [PATCH v4 00/26] Delete CURRENT_TIME and CURRENT_TIME_SEC macros

2016-08-15 Thread Greg KH
On Sat, Aug 13, 2016 at 03:48:12PM -0700, Deepa Dinamani wrote: > The series is aimed at getting rid of CURRENT_TIME and CURRENT_TIME_SEC > macros. > The macros are not y2038 safe. There is no plan to transition them into being > y2038 safe. > ktime_get_* api's can be used in their place. And,

Re: kernel BUG at fs/btrfs/extent-tree.c:1833! [btrfs]

2015-12-09 Thread Greg KH
On Wed, Dec 09, 2015 at 11:29:48PM +, Filipe Manana wrote: > On Wed, Dec 9, 2015 at 11:05 PM, Gerald Hopf > wrote: > > > >>> kernel BUG at fs/btrfs/extent-tree.c:1833! > >> > >> We got this fixed in 4.4-rc1: > >> > >> > >>

Re: Btrfs stable updates for 4.0

2015-06-25 Thread Greg KH
On Thu, Jun 25, 2015 at 05:10:29PM +0200, David Sterba wrote: On Fri, Jun 19, 2015 at 01:31:31PM -0700, Greg KH wrote: 5cc2b17e80cf5770f2e585c2d90fd8af1b901258 # 3.14+ Does not build on 3.14+, sorry. Please provide a backported version if you want to see it there. I'm sorry about

Re: Btrfs stable updates for 4.0

2015-06-19 Thread Greg KH
On Thu, Jun 11, 2015 at 06:06:32PM +0200, David Sterba wrote: Hi, please queue the following patches to 4.0 stable. There are fixes for user visible bugs and one usability regression with RAID1 - single conversion during balance. One of the patches does not apply cleanly to 4.0.5, there's

Re: Btrfs stable updates for 4.0

2015-06-19 Thread Greg KH
On Thu, Jun 11, 2015 at 06:06:32PM +0200, David Sterba wrote: Hi, please queue the following patches to 4.0 stable. There are fixes for user visible bugs and one usability regression with RAID1 - single conversion during balance. One of the patches does not apply cleanly to 4.0.5, there's

Re: Please add 9c4f61f01d269815bb7c37be3ede59c5587747c6 to stable

2015-04-23 Thread Greg KH
On Thu, Apr 23, 2015 at 02:16:40PM -0400, Rich Freeman wrote: On Mon, Apr 13, 2015 at 12:58 PM, Greg KH gre...@linuxfoundation.org wrote: On Mon, Apr 13, 2015 at 07:28:38PM +0500, Roman Mamedov wrote: On Thu, 2 Apr 2015 10:17:47 -0400 Chris Mason c...@fb.com wrote: Hi stable friends

Re: Please add 9c4f61f01d269815bb7c37be3ede59c5587747c6 to stable

2015-04-13 Thread Greg KH
On Mon, Apr 13, 2015 at 07:28:38PM +0500, Roman Mamedov wrote: On Thu, 2 Apr 2015 10:17:47 -0400 Chris Mason c...@fb.com wrote: Hi stable friends, Can you please backport this one to 3.19.y. It fixes a bug introduced by: 381cf6587f8a8a8e981bc0c18859b51dc756, which was

Re: [PATCH 1/1 V2] export symbol kobject_move()

2015-02-12 Thread Greg KH
On Thu, Feb 12, 2015 at 10:53:14AM +0100, David Sterba wrote: Adding Greg to CC. On Thu, Feb 12, 2015 at 07:03:37AM +0800, Anand Jain wrote: drivers/cpufreq/cpufreq.c is already using this function. And now btrfs needs it as well. export symbol kobject_move(). Signed-off-by: Anand

Re: [GIT PULL] Btrfs for stable (mostly 3.17)

2014-10-22 Thread Greg KH
On Tue, Oct 21, 2014 at 03:19:09PM -0400, Chris Mason wrote: On Mon, Oct 20, 2014 at 6:12 PM, Greg KH gre...@linuxfoundation.org wrote: On Mon, Oct 20, 2014 at 01:22:22PM +0100, Filipe Manana wrote: May I suggest porting the following commit to 3.14 too? https

Re: [GIT PULL] Btrfs for stable (mostly 3.17)

2014-10-20 Thread Greg KH
On Mon, Oct 20, 2014 at 01:22:22PM +0100, Filipe Manana wrote: On 10/20/2014 12:13 AM, Greg KH wrote: On Sun, Oct 19, 2014 at 09:55:11PM +0200, Greg KH wrote: On Sun, Oct 19, 2014 at 06:01:16AM -0400, Chris Mason wrote: Hi everyone, I've pulled out some of the btrfs commits from

Re: [GIT PULL] Btrfs for stable (mostly 3.17)

2014-10-19 Thread Greg KH
On Sun, Oct 19, 2014 at 06:01:16AM -0400, Chris Mason wrote: Hi everyone, I've pulled out some of the btrfs commits from the merge window that we'd like to see in stable. The full list of sha's from Linus is below, you can see 4 of them are only needed on 3.17

Re: [GIT PULL] Btrfs for stable (mostly 3.17)

2014-10-19 Thread Greg KH
On Sun, Oct 19, 2014 at 09:55:11PM +0200, Greg KH wrote: On Sun, Oct 19, 2014 at 06:01:16AM -0400, Chris Mason wrote: Hi everyone, I've pulled out some of the btrfs commits from the merge window that we'd like to see in stable. The full list of sha's from Linus is below, you can see 4

Re: Btrfs stable updates for 3.16.x (and others)

2014-09-04 Thread Greg KH
On Thu, Sep 04, 2014 at 06:37:58PM +0200, David Sterba wrote: On Wed, Sep 03, 2014 at 02:32:09PM -0700, Greg KH wrote: 6f7ff6d7832c6be13e8c95598884dbc40ad69fb7 This doesn't apply to 3.10-stable :( ce62003f690dff38d3164a632ec69efa15c32cbf Neither did this. I'm sorry

Re: Btrfs stable updates for 3.16.x (and others)

2014-09-03 Thread Greg KH
On Tue, Aug 19, 2014 at 01:10:45PM +0200, David Sterba wrote: Hi stable team, please add the following patches to stable trees. Patch #3 applies to all currently live stables, a 7 years old bug. I've briefly reviewed all 3 patches against 3.10/12/14/16 (ie. 3.4 skips #1 and #2).

Re: Btrfs stable updates for v3.16

2014-09-03 Thread Greg KH
On Wed, Sep 03, 2014 at 04:50:47PM -0400, Chris Mason wrote: Hi everyone, For 3.16, please pull these into stable, I've cherry picked and tested them here. For 3.15 and earlier there are a few conflicts, so I'll make a git tree with things to pull.

Re: [v3.10.y][v3.11.y][v3.12.y][v3.13.y][v3.14.y][PATCH 1/1][V2] ALSA: usb-audio: Prevent printk ratelimiting from spamming kernel log while DEBUG not defined

2014-07-07 Thread Greg KH
On Sat, Jun 21, 2014 at 12:48:27PM -0700, Greg KH wrote: On Sat, Jun 21, 2014 at 01:05:53PM +0100, Ben Hutchings wrote: On Fri, 2014-06-20 at 14:21 -0400, Joseph Salisbury wrote: [...] I looked at this some more. It seems like my v2 backport may be the most suitable for the releases

Re: [GIT PULL] Btrfs

2014-02-04 Thread Greg KH
On Mon, Feb 03, 2014 at 01:18:40PM -0500, Chris Mason wrote: On Mon 03 Feb 2014 12:54:05 PM EST, David Sterba wrote: On Thu, Jan 30, 2014 at 04:52:54PM -0500, Chris Mason wrote: Chris Mason (3) commits (+64/-32): Btrfs: setup inode location during btrfs_init_inode_locked (+9/-9)

Re: Btrfs stable updates for 3.12

2013-12-18 Thread Greg KH
On Wed, Dec 18, 2013 at 04:14:02PM +0100, David Sterba wrote: Hi, please queue the following patches to 3.12 stable. They fix a few crashes or lockups that were reported by users. The patch stop using vfs_read in send may seem big for stable, but without it the send/receive ioctl hits

Re: [PATCH] Btrfs: relocate csums properly with prealloc extents

2013-11-25 Thread Greg KH
On Mon, Nov 25, 2013 at 05:51:16PM +0100, David Sterba wrote: On Fri, Sep 27, 2013 at 09:37:00AM -0400, Josef Bacik wrote: A user reported a problem where they were getting csum errors when running a balance and running systemd's journal. This is because systemd is awesome and

Re: Handful of btrfs fixes for 3.11.x stable

2013-10-10 Thread Greg KH
On Mon, Oct 07, 2013 at 04:34:43PM -0400, Josef Bacik wrote: On Sat, Oct 05, 2013 at 04:52:18PM -0700, Greg KH wrote: On Fri, Sep 20, 2013 at 09:53:02AM -0700, Greg KH wrote: On Fri, Sep 20, 2013 at 06:34:39PM +0200, David Sterba wrote: Hi stable team, please add the following

Re: Handful of btrfs fixes for 3.11.x stable

2013-10-06 Thread Greg KH
On Fri, Sep 20, 2013 at 09:53:02AM -0700, Greg KH wrote: On Fri, Sep 20, 2013 at 06:34:39PM +0200, David Sterba wrote: Hi stable team, please add the following commits to 3.11 tree, they fix user visible problems, were tested and are now present in 3.12-rc1

Re: Handful of btrfs fixes for 3.11.x stable

2013-10-01 Thread Greg KH
On Tue, Oct 01, 2013 at 07:03:44PM +0200, David Sterba wrote: Hi Greg, On Fri, Sep 20, 2013 at 09:53:02AM -0700, Greg KH wrote: Thanks for this, I'll queue them up soon. 3.11.3 has been just released and the btrfs fixes are not there nor in the stable-queue git repo. There's a fix

Re: Handful of btrfs fixes for 3.11.x stable

2013-10-01 Thread Greg KH
On Wed, Oct 02, 2013 at 01:15:19AM +, Chris Mason wrote: Sorry, I misunderstood and thought you had already queued them. Both are fine with me. Ok, no worries, I'll pick them up in the next few days and add them to the next stable releases. thanks, greg k-h -- To unsubscribe from

Re: Handful of btrfs fixes for 3.11.x stable

2013-09-20 Thread Greg KH
On Fri, Sep 20, 2013 at 06:34:39PM +0200, David Sterba wrote: Hi stable team, please add the following commits to 3.11 tree, they fix user visible problems, were tested and are now present in 3.12-rc1. 3d05ca371200b3366530621abf73769024581b79 b13a004528c3e5eb060a26eee795f5a0da7bfe9f

Re: [PATCH] btrfs: don't stop searching after encountering the wrong item

2013-05-06 Thread Greg KH
On Mon, May 06, 2013 at 07:40:18PM +0200, Gabriel de Perthuis wrote: The search ioctl skips items that are too large for a result buffer, but inline items of a certain size occuring before any search result is found would trigger an overflow and stop the search entirely. Bug:

Re: [PATCH] Btrfs: merge inode_list in __merge_refs

2012-11-08 Thread Greg KH
On Thu, Nov 08, 2012 at 10:35:19PM +0100, Alexander Block wrote: Used wrong CC for stable list. Corrected now. formletter This is not the correct way to submit patches for inclusion in the stable kernel tree. Please read Documentation/stable_kernel_rules.txt for how to do this properly.

Re: [RFC v4+ hot_track 13/19] debugfs: introduce one function

2012-10-29 Thread Greg KH
On Mon, Oct 29, 2012 at 12:30:55PM +0800, zwu.ker...@gmail.com wrote: From: Zhi Yong Wu wu...@linux.vnet.ibm.com The debugfs function is used to get expected dentry. Huh? Why do you need this? Why haven't you added documentation for the function saying what it does? confused, greg k-h

Re: [RFC v4+ hot_track 13/19] debugfs: introduce one function

2012-10-29 Thread Greg KH
On Tue, Oct 30, 2012 at 06:25:50AM +0800, Zhi Yong Wu wrote: On Tue, Oct 30, 2012 at 2:11 AM, Greg KH gre...@linuxfoundation.org wrote: On Mon, Oct 29, 2012 at 12:30:55PM +0800, zwu.ker...@gmail.com wrote: From: Zhi Yong Wu wu...@linux.vnet.ibm.com The debugfs function is used to get

Re: [RFC v4+ hot_track 13/19] debugfs: introduce one function

2012-10-29 Thread Greg KH
On Tue, Oct 30, 2012 at 06:45:19AM +0800, Zhi Yong Wu wrote: On Tue, Oct 30, 2012 at 6:34 AM, Greg KH gre...@linuxfoundation.org wrote: On Tue, Oct 30, 2012 at 06:25:50AM +0800, Zhi Yong Wu wrote: On Tue, Oct 30, 2012 at 2:11 AM, Greg KH gre...@linuxfoundation.org wrote: On Mon, Oct 29

Re: [PATCH] Btrfs: fix regression in scrub path resolving

2012-04-13 Thread Greg KH
On Fri, Apr 13, 2012 at 04:58:15PM +0200, Jan Schmidt wrote: commit 7a3ae2f8c8c8432e65467b7fc84d5deab04061a0 upstream. In commit 4692cf58 (Linux 3.3) we introduced new backref walking code for btrfs. This assumes we're searching live roots, which requires a transaction context. While

Re: linux-next: build warninga in Linus' tree

2011-06-03 Thread Greg KH
On Fri, Jun 03, 2011 at 01:10:49PM +0200, David Sterba wrote: On Wed, Jun 01, 2011 at 10:16:48AM -0500, Mitch Harder wrote: I've been playing around with resurrecting the basic sysfs capabilities that had been previously incorporated into btrfs. As it stands right now, it was relatively

Re: [stable] Dirtiable inode bdi default != sb bdi btrfs

2010-09-26 Thread Greg KH
On Fri, Sep 24, 2010 at 08:39:41PM +0200, Jens Axboe wrote: On 2010-09-23 22:53, Greg KH wrote: On Thu, Sep 23, 2010 at 09:40:14PM +0200, Jens Axboe wrote: On 2010-09-23 21:38, Andrew Morton wrote: (Cc sta...@kernel.org) On Wed, 22 Sep 2010 21:54:30 -0300 Cesar Eduardo Barros ces

Re: [stable] Dirtiable inode bdi default != sb bdi btrfs

2010-09-23 Thread Greg KH
On Thu, Sep 23, 2010 at 09:40:14PM +0200, Jens Axboe wrote: On 2010-09-23 21:38, Andrew Morton wrote: (Cc sta...@kernel.org) On Wed, 22 Sep 2010 21:54:30 -0300 Cesar Eduardo Barros ces...@cesarb.net wrote: This started appearing for me on v2.6.36-rc5-49-gc79bd89; it did not

[063/111] Btrfs, fix memory leaks in error paths

2010-08-11 Thread Greg KH
2.6.32-stable review patch. If anyone has any objections, please let us know. -- From: Jiri Slaby jsl...@suse.cz commit 2423fdfb96e3f9ff3baeb6c4c78d74145547891d upstream. Stanse found 2 memory leaks in relocate_block_group and __btrfs_map_block. cluster and multi are not

[patch 01/51] fiemap: fix problem with setting FIEMAP_EXTENT_LAST

2009-05-14 Thread Greg KH
2.6.29-stable review patch. If anyone has any objections, please let us know. -- From: Josef Bacik jba...@redhat.com commit df3935ffd6166fdd00702cf548fb5bb55737758b upstream. Fix a problem where the generic block based fiemap stuff would not properly set FIEMAP_EXTENT_LAST on