]> git.proxmox.com Git - mirror_spl.git/commit
call_usermodehelper() should wait for process
authorNed Bass <bass6@llnl.gov>
Thu, 10 Jan 2013 00:09:47 +0000 (16:09 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 10 Jan 2013 00:54:19 +0000 (16:54 -0800)
commit8842263bd0f3c2f78c9cd52be8a74d4376396501
tree762b16c6b7148db9f6c98d5da934d2a118d539e6
parent42b3ce622f53001d819e6c8eabe4576e6dd38913
call_usermodehelper() should wait for process

As of Linux 3.4 the UMH_WAIT_* constants were renumbered.  In
particular, the meaning of "1" changed from UMH_WAIT_PROC (wait for
process to complete), to UMH_WAIT_EXEC (wait for the exec, but not the
process).  A number of call sites used the number 1 instead of the
constant name, so the behavior was not as expected on kernels with
this change.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
module/spl/spl-generic.c
module/splat/splat-linux.c
module/splat/splat-vnode.c