diff options
Diffstat (limited to 'fs/block_dev.c')
-rw-r--r-- | fs/block_dev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/block_dev.c b/fs/block_dev.c index 5f4721fdbdb6..67fe72ce6ac7 100644 --- a/fs/block_dev.c +++ b/fs/block_dev.c | |||
@@ -1409,7 +1409,7 @@ struct block_device *lookup_bdev(const char *path) | |||
1409 | if (!bdev) | 1409 | if (!bdev) |
1410 | goto fail; | 1410 | goto fail; |
1411 | out: | 1411 | out: |
1412 | path_release(&nd); | 1412 | path_put(&nd.path); |
1413 | return bdev; | 1413 | return bdev; |
1414 | fail: | 1414 | fail: |
1415 | bdev = ERR_PTR(error); | 1415 | bdev = ERR_PTR(error); |