projects
/
platform
/
kernel
/
u-boot-spacemit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc1c02c
)
fs: btrfs: remove the usage of undeclared fs_mutex variable
author
Pankaj Raghav
<p.raghav@samsung.com>
Wed, 28 Sep 2022 15:23:01 +0000
(17:23 +0200)
committer
Tom Rini
<trini@konsulko.com>
Thu, 29 Sep 2022 14:10:39 +0000
(10:10 -0400)
This line probably got in by mistake as there is no fs_mutex member in
the btrfs_fs_info struct.
Signed-off-by: Pankaj Raghav <p.raghav@samsung.com>
Reviewed-by: Qu Wenruo <wqu@suse.com>
fs/btrfs/disk-io.c
patch
|
blob
|
history
diff --git
a/fs/btrfs/disk-io.c
b/fs/btrfs/disk-io.c
index 8043abc1bd605953818a479da2418a6d97a6b690..c80f8e8028341b15418df2eaee9735c61b0223d0 100644
(file)
--- a/
fs/btrfs/disk-io.c
+++ b/
fs/btrfs/disk-io.c
@@
-782,8
+782,6
@@
struct btrfs_fs_info *btrfs_new_fs_info(void)
fs_info->fs_root_tree = RB_ROOT;
cache_tree_init(&fs_info->mapping_tree.cache_tree);
- mutex_init(&fs_info->fs_mutex);
-
return fs_info;
free_all:
btrfs_free_fs_info(fs_info);