.
OBS-URL: https://build.opensuse.org/package/show/Base:System/psmisc?expand=0&rev=90
This commit is contained in:
parent
d16b550658
commit
eb177148b7
@ -1,4 +1,4 @@
|
||||
From 5bcb9ee808fa6f35b7fb2fb986cd9d8486720410 Mon Sep 17 00:00:00 2001
|
||||
From 60bbf03a076374e20aa62e1f3297be170403fcb7 Mon Sep 17 00:00:00 2001
|
||||
From: Werner Fink <werner@suse.de>
|
||||
Date: Thu, 29 Jun 2017 15:18:28 +0200
|
||||
Subject: [PATCH] Use mountinfo to be able to use the mount identity
|
||||
@ -64,7 +64,7 @@ index 176a2fc..d8d3366 100644
|
||||
dnl Checks for typedefs, structures, and compiler characteristics.
|
||||
AC_C_CONST
|
||||
diff --git src/fuser.c src/fuser.c
|
||||
index 31ef30c..74c2353 100644
|
||||
index 31ef30c..4ef7cfd 100644
|
||||
--- src/fuser.c
|
||||
+++ src/fuser.c
|
||||
@@ -32,6 +32,10 @@
|
||||
@ -247,7 +247,7 @@ index 31ef30c..74c2353 100644
|
||||
+ count = 0;
|
||||
+ list_for_each(ptr, &mntinfo) {
|
||||
+ mntinfo_t *mnt = list_entry(ptr, mntinfo_t);
|
||||
+ if (match_device != mnt->dev)
|
||||
+ if (match_device != mnt->dev || this_name->mnt_id != mnt->id)
|
||||
+ continue;
|
||||
+ if (!mountinfo)
|
||||
+ mountinfo = mnt;
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 6 13:59:36 UTC 2017 - werner@suse.de
|
||||
|
||||
- Update patch
|
||||
0001-Use-mountinfo-to-be-able-to-use-the-mount-identity.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 5 13:24:01 UTC 2017 - werner@suse.de
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user