diff options
Diffstat (limited to 'fs')
-rw-r--r-- | fs/btrfs/volumes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/volumes.c b/fs/btrfs/volumes.c index 0144790e296e..50c5a8762aed 100644 --- a/fs/btrfs/volumes.c +++ b/fs/btrfs/volumes.c | |||
@@ -1485,7 +1485,7 @@ static void update_dev_time(char *path_name) | |||
1485 | struct file *filp; | 1485 | struct file *filp; |
1486 | 1486 | ||
1487 | filp = filp_open(path_name, O_RDWR, 0); | 1487 | filp = filp_open(path_name, O_RDWR, 0); |
1488 | if (!filp) | 1488 | if (IS_ERR(filp)) |
1489 | return; | 1489 | return; |
1490 | file_update_time(filp); | 1490 | file_update_time(filp); |
1491 | filp_close(filp, NULL); | 1491 | filp_close(filp, NULL); |