autofs: refactor super block info init
authorIan Kent <raven@themaw.net>
Fri, 22 Sep 2023 04:12:10 +0000 (12:12 +0800)
committerChristian Brauner <brauner@kernel.org>
Fri, 22 Sep 2023 08:14:59 +0000 (10:14 +0200)
commita7467430b4de0985b7d1de8f1e50f8dd47eb6c4a
treeef7dc5064ef624aada81d120f72b2411441014ff
parent546694b8f65807427a0104154abd8cdc633b36e3
autofs: refactor super block info init

Move the allocation and initialisation of the super block
info struct to its own function.

Signed-off-by: Ian Kent <raven@themaw.net>
Reviewed-by: Bill O'Donnell <bodonnel@redhat.com>
Message-Id: <20230922041215.13675-4-raven@themaw.net>
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/autofs/inode.c