]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
krbd: remove deprecated --quiet param from udevadm 6634/head
authorJason Dillaman <dillaman@redhat.com>
Tue, 27 Oct 2015 14:13:27 +0000 (10:13 -0400)
committerAbhishek Varshney <abhishek.varshney@flipkart.com>
Wed, 18 Nov 2015 08:16:47 +0000 (13:46 +0530)
This parameter has been removed since systemd 213, so this
effects Fedora 21+, Debian Jessie, and potentially future
releases of RHEL 7.

Fixes: #13560
Backport: hammer, infernalis
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 4300f2a9fe29627eea580564ff2d576de3647467)

src/krbd.cc

index 9901edbfb154ff2c2b8b34285b03029bb79de21b..778c109fe4c97907c821ab717fc1c711b8edb4de 100644 (file)
@@ -521,8 +521,7 @@ static int do_unmap(struct udev *udev, dev_t devno, const string& id)
          * libudev does not provide the "wait until the queue is empty"
          * API or the sufficient amount of primitives to build it from.
          */
-        string err = run_cmd("udevadm", "settle", "--timeout", "10", "--quiet",
-                             NULL);
+        string err = run_cmd("udevadm", "settle", "--timeout", "10", NULL);
         if (!err.empty())
           cerr << "rbd: " << err << std::endl;
       }