VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Hyeongseok Kim <hyeongseok@gmail.com> 2021-03-02 14:05:20 +0900 committer: Namjae Jeon <namjae.jeon@samsung.com> 2021-04-27 20:45:06 +0900 commit: 5c2d728507299f84631ab8020d6f0f98f2cb8fc2 parent: 77edfc6e51055b61cae2f54c8e6c3bb7c762e4fe
Commit Summary:
exfat: introduce bitmap_lock for cluster bitmap access
Diffstat:
1 file changed, 1 insertion, 0 deletions
diff --git a/fs/exfat/super.c b/fs/exfat/super.c
index c6d8d2e53486..d38d17a77e76 100644
--- a/fs/exfat/super.c
+++ b/fs/exfat/super.c
@@ -752,6 +752,7 @@ static int exfat_init_fs_context(struct fs_context *fc)
 		return -ENOMEM;
 
 	mutex_init(&sbi->s_lock);
+	mutex_init(&sbi->bitmap_lock);
 	ratelimit_state_init(&sbi->ratelimit, DEFAULT_RATELIMIT_INTERVAL,
 			DEFAULT_RATELIMIT_BURST);