]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
UBIFS: xattr bugfixes
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Tue, 12 Aug 2008 13:30:12 +0000 (16:30 +0300)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Thu, 14 Aug 2008 09:46:20 +0000 (12:46 +0300)
commitc78c7e35a4709b55d3126624662c8f6d7e3d1a5e
treef36f56651f50f51b7e79451d0986e3656da0269d
parent720b499c806200d06f4f22c668d46db784117089
UBIFS: xattr bugfixes

Xattr code has not been tested for a while and there were
serveral bugs. One of them is using wrong inode in
'ubifs_jnl_change_xattr()'. The other is a deadlock in
'ubifs_setxattr()': the i_mutex is locked in
'cap_inode_need_killpriv()' path, so deadlock happens when
'ubifs_setxattr()' tries to lock it again.

Thanks to Zoltan Sogor for finding these bugs.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
fs/ubifs/journal.c
fs/ubifs/xattr.c