linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [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

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).