summaryrefslogtreecommitdiffstats
path: root/fs/ubootvarfs.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/ubootvarfs.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/ubootvarfs.c')
-rw-r--r--fs/ubootvarfs.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/ubootvarfs.c b/fs/ubootvarfs.c
index b70ad99e07..2559cfd111 100644
--- a/fs/ubootvarfs.c
+++ b/fs/ubootvarfs.c
@@ -148,7 +148,7 @@ static struct dentry *ubootvarfs_lookup(struct inode *dir,
unsigned int flags)
{
struct super_block *sb = dir->i_sb;
- struct fs_device_d *fsdev = container_of(sb, struct fs_device_d, sb);
+ struct fs_device *fsdev = container_of(sb, struct fs_device, sb);
struct ubootvarfs_data *data = fsdev->dev.priv;
struct ubootvarfs_var *var;
struct inode *inode;
@@ -269,7 +269,7 @@ static int ubootvarfs_create(struct inode *dir, struct dentry *dentry,
umode_t mode)
{
struct super_block *sb = dir->i_sb;
- struct fs_device_d *fsdev = container_of(sb, struct fs_device_d, sb);
+ struct fs_device *fsdev = container_of(sb, struct fs_device, sb);
struct ubootvarfs_data *data = fsdev->dev.priv;
struct inode *inode;
struct ubootvarfs_var *var;
@@ -311,7 +311,7 @@ static const struct inode_operations ubootvarfs_dir_inode_operations = {
static struct inode *ubootvarfs_alloc_inode(struct super_block *sb)
{
struct ubootvarfs_inode *node;
- struct fs_device_d *fsdev = container_of(sb, struct fs_device_d, sb);
+ struct fs_device *fsdev = container_of(sb, struct fs_device, sb);
struct ubootvarfs_data *data = fsdev->dev.priv;
node = xzalloc(sizeof(*node));
@@ -427,7 +427,7 @@ static int ubootvarfs_probe(struct device *dev)
{
struct inode *inode;
struct ubootvarfs_data *data = xzalloc(sizeof(*data));
- struct fs_device_d *fsdev = dev_to_fs_device(dev);
+ struct fs_device *fsdev = dev_to_fs_device(dev);
struct super_block *sb = &fsdev->sb;
struct stat s;
void *map;