summaryrefslogtreecommitdiff
path: root/fs/ubifs/ubifs.h
diff options
context:
space:
mode:
authorZhihao Cheng <chengzhihao1@huawei.com>2021-05-31 15:52:10 +0300
committerRichard Weinberger <richard@nod.at>2021-06-18 23:04:47 +0300
commit819f9ab430a4478ce519e5cc8ae4de438d8ad4ba (patch)
treee166d92ee91054e6ca012ee90d9ce8b33ef4f070 /fs/ubifs/ubifs.h
parentf4e3634a3b642225a530c292fdb1e8a4007507f5 (diff)
downloadlinux-819f9ab430a4478ce519e5cc8ae4de438d8ad4ba.tar.xz
ubifs: Remove ui_mutex in ubifs_xattr_get and change_xattr
Since ubifs_xattr_get and ubifs_xattr_set cannot being executed parallelly after importing @host_ui->xattr_sem, now we can remove ui_mutex imported by commit ab92a20bce3b4c2 ("ubifs: make ubifs_[get|set]xattr atomic"). @xattr_size, @xattr_names and @xattr_cnt can't be out of protection by @host_ui->mutex yet, they are sill accesed in other places, such as pack_inode() called by ubifs_write_inode() triggered by page-writeback. Signed-off-by: Zhihao Cheng <chengzhihao1@huawei.com> Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'fs/ubifs/ubifs.h')
0 files changed, 0 insertions, 0 deletions