mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/kdave/btrfs-progs.git
synced 2024-11-15 00:04:23 +08:00
btrfs-progs: use wrapper btrfs_open_dir_fd() in btrfs_open_mnt_fd()
The arguments now match the wrapper, use it. Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
221114c36f
commit
52ea295038
@ -254,7 +254,7 @@ int btrfs_open_mnt_fd(const char *path)
|
||||
error("'%s' is not a mounted btrfs device", path);
|
||||
return -EINVAL;
|
||||
}
|
||||
ret = btrfs_open_fd2(mp, true, true);
|
||||
ret = btrfs_open_dir_fd(mp);
|
||||
} else {
|
||||
ret = btrfs_open_dir_fd(path);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user