diff options
author | Yubo Feng <fengyubo3@huawei.com> | 2020-08-11 18:35:56 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2020-08-12 10:58:01 -0700 |
commit | e348e65a081d761caf72c2753c4e3d67bfb1ef80 (patch) | |
tree | 6797905ce27f7fa95c92d55a5e3f6d6f064af384 /virt | |
parent | 88b2e9b06381551b707d980627ad0591191f7a2d (diff) | |
download | linux-e348e65a081d761caf72c2753c4e3d67bfb1ef80.tar.bz2 |
fatfs: switch write_lock to read_lock in fat_ioctl_get_attributes
There is no need to hold write_lock in fat_ioctl_get_attributes.
write_lock may make an impact on concurrency of fat_ioctl_get_attributes.
Signed-off-by: Yubo Feng <fengyubo3@huawei.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Acked-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Link: http://lkml.kernel.org/r/1593308053-12702-1-git-send-email-fengyubo3@huawei.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions