commit | c78c7e35a4709b55d3126624662c8f6d7e3d1a5e | [log] [tgz] |
---|---|---|
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | Tue Aug 12 16:30:12 2008 +0300 |
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | Thu Aug 14 12:46:20 2008 +0300 |
tree | f36f56651f50f51b7e79451d0986e3656da0269d | |
parent | 720b499c806200d06f4f22c668d46db784117089 [diff] |
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>