diff options
author | Joerg Steffens <joerg.steffens@bareos.com> | 2015-11-15 13:18:33 +0300 |
---|---|---|
committer | Joerg Steffens <joerg.steffens@bareos.com> | 2015-11-15 13:18:33 +0300 |
commit | bc9ba63080de46937e4b521887ef4d626129d307 (patch) | |
tree | ce7c676c387ec0d67b32c1c1506a618715840612 | |
parent | f59d9d8e10896627615770d9f88c5f32215bfb8b (diff) |
bugfix: needed more info to identify object
-rw-r--r-- | bareos/fuse/node/bvfsdir.py | 2 | ||||
-rw-r--r-- | bareos/fuse/node/bvfsfile.py | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/bareos/fuse/node/bvfsdir.py b/bareos/fuse/node/bvfsdir.py index 0ead431..b664d0f 100644 --- a/bareos/fuse/node/bvfsdir.py +++ b/bareos/fuse/node/bvfsdir.py @@ -28,7 +28,7 @@ class BvfsDir(Directory, BvfsCommon): if pathid == None: id = "jobid=%s" % (str(job.job['jobid'])) else: - id = "pathid=%s" % (str(pathid)) + id = "jobid=%s_pathid=%s" % (str(job.job['jobid']),str(pathid)) return id def setxattr(self, path, key, value, flags): diff --git a/bareos/fuse/node/bvfsfile.py b/bareos/fuse/node/bvfsfile.py index 636b336..d47a9b9 100644 --- a/bareos/fuse/node/bvfsfile.py +++ b/bareos/fuse/node/bvfsfile.py @@ -18,7 +18,8 @@ class BvfsFile(File, BvfsCommon): @classmethod def get_id(cls, file, job, bvfspath): - return str(file['fileid']) + return "jobid=%s_fileid=%s" % (str(job.job['jobid']),str(file['fileid'])) + # Filesystem methods # ================== |