[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAFZT-j+KqKfx5sEr3G9JbesUNgp60vi9Zn_tT=78S-WrVmmxKw@mail.gmail.com>
Date: Wed, 5 Feb 2014 13:39:06 -0600
From: Ahmed Tamrawi <ahmedtamrawi@...il.com>
To: linux-ext4@...r.kernel.org
Subject: mutex_unlock is missed in function (swap_inode_boot_loader) in file (linux-3.13/fs/ext4/ioctl.c)
Hi there!
Bug Report Filed: https://bugzilla.kernel.org/show_bug.cgi?id=70091
Linux Version [3.13]
Configuration: Default configuration for x86
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).
Thanks,
Ahmed
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists