summaryrefslogtreecommitdiff
path: root/fs/afs/cell.c
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2021-09-27 18:38:10 +0100
committerMark Brown <broonie@kernel.org>2021-09-27 18:38:10 +0100
commit59c4e190b10cd2d6edccb5c238a3d2bda071a018 (patch)
tree394e0d2a793ada03c280e066cd34f9ce7bf6633a /fs/afs/cell.c
parent6840615f85f6046039ebc4989870ddb12892b7fc (diff)
parent5816b3e6577eaa676ceb00a848f0fd65fe2adc29 (diff)
Merge tag 'v5.15-rc3' into spi-5.15
Linux 5.15-rc3
Diffstat (limited to 'fs/afs/cell.c')
-rw-r--r--fs/afs/cell.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/afs/cell.c b/fs/afs/cell.c
index 887b673f6223..d88407fb9bc0 100644
--- a/fs/afs/cell.c
+++ b/fs/afs/cell.c
@@ -166,6 +166,8 @@ static struct afs_cell *afs_alloc_cell(struct afs_net *net,
seqlock_init(&cell->volume_lock);
cell->fs_servers = RB_ROOT;
seqlock_init(&cell->fs_lock);
+ INIT_LIST_HEAD(&cell->fs_open_mmaps);
+ init_rwsem(&cell->fs_open_mmaps_lock);
rwlock_init(&cell->vl_servers_lock);
cell->flags = (1 << AFS_CELL_FL_CHECK_ALIAS);