* [Bug 70091] New: mutex_unlock is missed in function (swap_inode_boot_loader) in file (linux-3.13/fs/ext4/ioctl.c)
@ 2014-02-05 19:36 bugzilla-daemon
2014-03-30 19:51 ` [Bug 70091] " bugzilla-daemon
2014-03-31 20:39 ` bugzilla-daemon
0 siblings, 2 replies; 3+ messages in thread
From: bugzilla-daemon @ 2014-02-05 19:36 UTC (permalink / raw)
To: linux-ext4
https://bugzilla.kernel.org/show_bug.cgi?id=70091
Bug ID: 70091
Summary: mutex_unlock is missed in function
(swap_inode_boot_loader) in file
(linux-3.13/fs/ext4/ioctl.c)
Product: File System
Version: 2.5
Kernel Version: 3.13
Hardware: x86-64
OS: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: ext4
Assignee: fs_ext4@kernel-bugs.osdl.org
Reporter: atamrawi@iastate.edu
Regression: No
In function (swap_inode_boot_loader) in file (linux-3.13/fs/ext4/ioctl.c):
The structures: (inode->i_mutex) and (inode_bl->i_mutex) gets successfully
locked at line (133) by (lock_two_nondirectories(inode, inode_bl), but both are
not unlocked when the function returns after line (147), however they got
unlocked only at line (208) by (unlock_two_nondirectories(inode, inode_bl)).
A possible solution is to call (unlock_two_nondirectories(inode, inode_bl))
before line (147).
--
You are receiving this mail because:
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug 70091] mutex_unlock is missed in function (swap_inode_boot_loader) in file (linux-3.13/fs/ext4/ioctl.c)
2014-02-05 19:36 [Bug 70091] New: mutex_unlock is missed in function (swap_inode_boot_loader) in file (linux-3.13/fs/ext4/ioctl.c) bugzilla-daemon
@ 2014-03-30 19:51 ` bugzilla-daemon
2014-03-31 20:39 ` bugzilla-daemon
1 sibling, 0 replies; 3+ messages in thread
From: bugzilla-daemon @ 2014-03-30 19:51 UTC (permalink / raw)
To: linux-ext4
https://bugzilla.kernel.org/show_bug.cgi?id=70091
Conrad Meyer <cse.cem@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |cse.cem@gmail.com
--- Comment #1 from Conrad Meyer <cse.cem@gmail.com> ---
This was fixed in 30d29b119ef01776e0a301444ab24defe8d8bef3
Author: Zheng Liu <wenqing.lz@taobao.com>
Date: Wed Feb 12 11:48:31 2014 -0500
ext4: fix error paths in swap_inode_boot_loader()
In swap_inode_boot_loader() we forgot to release ->i_mutex and resume
unlocked dio for inode and inode_bl if there is an error starting the
journal handle. This commit fixes this issue.
In merge commit 805937cf45f9a9933e6b8e5c6660406e977a9a23
Author: Linus Torvalds <torvalds@linux-foundation.org>
Date: Tue Feb 18 10:04:09 2014 -0800
Merge tag 'ext4_for_linus_stable' of
git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4
...
--
You are receiving this mail because:
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug 70091] mutex_unlock is missed in function (swap_inode_boot_loader) in file (linux-3.13/fs/ext4/ioctl.c)
2014-02-05 19:36 [Bug 70091] New: mutex_unlock is missed in function (swap_inode_boot_loader) in file (linux-3.13/fs/ext4/ioctl.c) bugzilla-daemon
2014-03-30 19:51 ` [Bug 70091] " bugzilla-daemon
@ 2014-03-31 20:39 ` bugzilla-daemon
1 sibling, 0 replies; 3+ messages in thread
From: bugzilla-daemon @ 2014-03-31 20:39 UTC (permalink / raw)
To: linux-ext4
https://bugzilla.kernel.org/show_bug.cgi?id=70091
Theodore Tso <tytso@mit.edu> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |tytso@mit.edu
Resolution|--- |CODE_FIX
--- Comment #2 from Theodore Tso <tytso@mit.edu> ---
Thanks for the note!
--
You are receiving this mail because:
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-03-31 20:39 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-05 19:36 [Bug 70091] New: mutex_unlock is missed in function (swap_inode_boot_loader) in file (linux-3.13/fs/ext4/ioctl.c) bugzilla-daemon
2014-03-30 19:51 ` [Bug 70091] " bugzilla-daemon
2014-03-31 20:39 ` bugzilla-daemon
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).