Commit 0d025c6b authored by Rusty Russell's avatar Rusty Russell Committed by Linus Torvalds

[PATCH] fix typo of members name in drivers_mtd_ftl.c

From:  Pablo Menichini <pablo@menichini.com.ar>
parent e47548f1
...@@ -841,7 +841,7 @@ static int ftl_open(struct inode *inode, struct file *file) ...@@ -841,7 +841,7 @@ static int ftl_open(struct inode *inode, struct file *file)
return -EROFS; return -EROFS;
} }
DEBUG(0, "ftl_cs: ftl_open(%s)\n", inode->i_bdev->b_disk->disk_name); DEBUG(0, "ftl_cs: ftl_open(%s)\n", inode->i_bdev->bd_disk->disk_name);
atomic_inc(&partition->open); atomic_inc(&partition->open);
...@@ -855,7 +855,7 @@ static release_t ftl_close(struct inode *inode, struct file *file) ...@@ -855,7 +855,7 @@ static release_t ftl_close(struct inode *inode, struct file *file)
partition_t *part = inode->i_bdev->bd_disk->private_data; partition_t *part = inode->i_bdev->bd_disk->private_data;
int i; int i;
DEBUG(0, "ftl_cs: ftl_close(%s)\n", inode->i_bdev->b_disk->disk_name); DEBUG(0, "ftl_cs: ftl_close(%s)\n", inode->i_bdev->bd_disk->disk_name);
/* Wait for any pending erase operations to complete */ /* Wait for any pending erase operations to complete */
if (part->mtd->sync) if (part->mtd->sync)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment