diff --git a/0001-Use-mountinfo-to-be-able-to-use-the-mount-identity.patch b/0001-Use-mountinfo-to-be-able-to-use-the-mount-identity.patch index 0b25bd1..5a1cd71 100644 --- a/0001-Use-mountinfo-to-be-able-to-use-the-mount-identity.patch +++ b/0001-Use-mountinfo-to-be-able-to-use-the-mount-identity.patch @@ -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 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; diff --git a/psmisc.changes b/psmisc.changes index a43e6eb..6d6955d 100644 --- a/psmisc.changes +++ b/psmisc.changes @@ -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