Skip to content

Commit

Permalink
fuse/mount code and test fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasWaldmann committed Aug 14, 2024
1 parent 05a56dc commit dd57cb3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/borg/fuse.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def async_wrapper(fn):
from .item import Item
from .platform import uid2user, gid2group
from .platformflags import is_darwin
from .remote import RemoteRepository # TODO 3
from .remote3 import RemoteRepository3


def fuse_main():
Expand Down Expand Up @@ -546,7 +546,7 @@ def pop_option(options, key, present, not_present, wanted_type, int_base=0):
self._create_filesystem()
llfuse.init(self, mountpoint, options)
if not foreground:
if isinstance(self.repository_uncached, RemoteRepository):
if isinstance(self.repository_uncached, RemoteRepository3):
daemonize()
else:
with daemonizing() as (old_id, new_id):
Expand Down
2 changes: 1 addition & 1 deletion src/borg/testsuite/archiver/mount_cmds.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

from ... import xattr, platform
from ...constants import * # NOQA
from ...locking import Lock
from ...locking3 import Lock
from ...helpers import flags_noatime, flags_normal
from .. import has_lchflags, llfuse
from .. import changedir, no_selinux, same_ts_ns
Expand Down

0 comments on commit dd57cb3

Please sign in to comment.