Bug 47611
Summary: | NULL pointer dereference in ext4_ext_remove_space on 3.5.1 | ||
---|---|---|---|
Product: | File System | Reporter: | Dan Carpenter (error27) |
Component: | ext4 | Assignee: | fs_ext4 (fs_ext4) |
Status: | RESOLVED PATCH_ALREADY_AVAILABLE | ||
Severity: | normal | CC: | dmonakhov, mehmet, tytso |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 3.5.1 | Subsystem: | |
Regression: | Yes | Bisected commit-id: | |
Bug Depends on: | |||
Bug Blocks: | 47401 |
Description
Dan Carpenter
2012-09-17 11:32:34 UTC
This patch should helps http://patchwork.ozlabs.org/patch/183649/ Fixed by commit: 89a4e48f8479f: "ext4: fix kernel BUG on large-scale rm -rf commands", which appeared in Linus's tree as of 3.6-rc3, and which was backported to v3.5.3. (Dmitry, looking at your patch, I'm guessing you haven't tried rebasing your patch series to 3.6-rc3 or later? If you haven't, that would be much appreciated.) (In reply to comment #2) > Fixed by commit: 89a4e48f8479f: "ext4: fix kernel BUG on large-scale rm -rf > commands", which appeared in Linus's tree as of 3.6-rc3, and which was > backported to v3.5.3. > > (Dmitry, looking at your patch, I'm guessing you haven't tried rebasing your > patch series to 3.6-rc3 or later? If you haven't, that would be much > appreciated.) I've prepared patches against your git tree http://git.kernel.org/?p=linux/kernel/git/tytso/ext4.git And i can't find 3.6-rc3 tag here. Which git tree should i use when? Oh, my bad. I hadn't pushed the master branch forward even though the patch had been sent to Linus and merged for 3.6-rc3. The ext4 git tree has three branches of interest. Internally, I work off of an ext4 patch queue which can be found here: git://repo.or.cz/ext4-patch-queue.git or here: https://github.com/tytso/ext4-patch-queue.git The base of the patch series is the "origin" branch on the ext4 git tree, and that is always a commit which is in Linus's mainline. The last "stable patch" (before the "stable-boundary" no-op patch in the ext4 patch queue) is what is generally on the "dev" branch, and that is what is synched-up with linux-next. The "master" branch supposed to live on a commit somewhere between "origin" and "dev", and represents a commitment that everything at or before the "master" branch pointer is a stable commit that I will not rewind or rebase. Commits between "master" and "dev" are stable, and will probably not be rebased, but the commit description might change, or if a critical bug is found, a commit might require revision, or in rare cases, might get dropped. So if you are doing developement using git, you're better off using the "master" branch, since that is a non-rewinding branch. If you are just using patch series or some kind of patch queue (i.e., stgit, guilt, quilt, etc.) then it should be fine to use the "dev" branch. For example, at the moment the 64-bit resize patches are still not yet in master, although at this point they are pretty stable and will probably not change. Everything before the "master" branch, however, is guaranteed to be stable. Does this bug affect 3.2.0? No, it doesn't affect 3.2.0; this was a regression which was introduced in 3.5.0, and fixed by 3.5.3 (and in upstream by the time 3.6-rc3 was released). |