Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 921564
Collapse All | Expand All

(-)a/libbcachefs.c (-2 / +1 lines)
Lines 445-450 struct bchfs_handle bcache_fs_open(const char *path) Link Here
445
 */
445
 */
446
struct bchfs_handle bchu_fs_open_by_dev(const char *path, int *idx)
446
struct bchfs_handle bchu_fs_open_by_dev(const char *path, int *idx)
447
{
447
{
448
	struct bch_opts opts = bch2_opts_empty();
448
	char buf[1024], *uuid_str;
449
	char buf[1024], *uuid_str;
449
	struct stat stat = xstat(path);
450
	struct stat stat = xstat(path);
Lines 469-476 struct bchfs_handle bchu_fs_open_by_dev(const char *path, int *idx) Link Here
469
		uuid_str = p + 1;
470
		uuid_str = p + 1;
470
	} else {
471
	} else {
471
read_super:
472
read_super:
472
		struct bch_opts opts = bch2_opts_empty();
473
474
		opt_set(opts, noexcl,	true);
473
		opt_set(opts, noexcl,	true);
475
		opt_set(opts, nochanges, true);
474
		opt_set(opts, nochanges, true);

Return to bug 921564