diff --git a/driver/device-mapper/dm-fs.c b/driver/device-mapper/dm-fs.c index 8aca36194..c39270ef8 100644 --- a/driver/device-mapper/dm-fs.c +++ b/driver/device-mapper/dm-fs.c @@ -351,7 +351,6 @@ static int _mkdir(struct inode *dir, struct dentry *dentry, int mode) } dentry->d_inode->u.generic_ip = md; - md->inode = dentry->d_inode; return 0; } diff --git a/driver/device-mapper/dm.h b/driver/device-mapper/dm.h index a96f6e788..f2e89f728 100644 --- a/driver/device-mapper/dm.h +++ b/driver/device-mapper/dm.h @@ -188,7 +188,6 @@ struct dm_table { struct mapped_device { kdev_t dev; char name[DM_NAME_LEN]; - struct inode *inode; int use_count; int state;