summaryrefslogtreecommitdiffstats
path: root/fs/nfs.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2022-12-14 13:35:11 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2023-01-10 15:43:47 +0100
commit099c614f1c3c6f814fcf5c440932dbe3eab8ba00 (patch)
treea2dace06d44130b6255614fcf41b6066e36e707e /fs/nfs.c
parentf662623968e17a5044ba546fd1834ceb40241e48 (diff)
downloadbarebox-099c614f1c3c6f814fcf5c440932dbe3eab8ba00.tar.gz
barebox-099c614f1c3c6f814fcf5c440932dbe3eab8ba00.tar.xz
Rename struct fs_device_d to fs_device
Remove the meaningless '_d' suffix. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Reviewed-by: Marco Felsch <m.felsch@pengutronix.de> Link: https://lore.barebox.org/20221214123512.189688-5-s.hauer@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'fs/nfs.c')
-rw-r--r--fs/nfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfs.c b/fs/nfs.c
index 5a1b7b6531..1b38923ce0 100644
--- a/fs/nfs.c
+++ b/fs/nfs.c
@@ -1386,7 +1386,7 @@ static const struct super_operations nfs_ops = {
static char *rootnfsopts;
-static void nfs_set_rootarg(struct nfs_priv *npriv, struct fs_device_d *fsdev)
+static void nfs_set_rootarg(struct nfs_priv *npriv, struct fs_device *fsdev)
{
char *str, *tmp;
const char *bootargs;
@@ -1421,7 +1421,7 @@ static void nfs_set_rootarg(struct nfs_priv *npriv, struct fs_device_d *fsdev)
static int nfs_probe(struct device *dev)
{
- struct fs_device_d *fsdev = dev_to_fs_device(dev);
+ struct fs_device *fsdev = dev_to_fs_device(dev);
struct nfs_priv *npriv = xzalloc(sizeof(struct nfs_priv));
struct super_block *sb = &fsdev->sb;
char *tmp = xstrdup(fsdev->backingstore);