|
@@ -690,7 +690,6 @@ static int loop_change_fd(struct loop_device *lo, struct block_device *bdev,
|
|
|
unsigned int arg)
|
|
|
{
|
|
|
struct file *file, *old_file;
|
|
|
- struct inode *inode;
|
|
|
int error;
|
|
|
|
|
|
error = -ENXIO;
|
|
@@ -711,7 +710,6 @@ static int loop_change_fd(struct loop_device *lo, struct block_device *bdev,
|
|
|
if (error)
|
|
|
goto out_putf;
|
|
|
|
|
|
- inode = file->f_mapping->host;
|
|
|
old_file = lo->lo_backing_file;
|
|
|
|
|
|
error = -EINVAL;
|