xtensa: re-wire umount syscall to sys_oldumount
authorMax Filippov <jcmvbkbc@gmail.com>
Mon, 6 Oct 2014 17:01:17 +0000 (21:01 +0400)
committerBen Hutchings <ben@decadent.org.uk>
Sun, 14 Dec 2014 16:23:49 +0000 (16:23 +0000)
commitc342e03d3f853c019613ec5a2d1a24ae46014c87
treef40f8f63fb0c2f66cf975793557bb456f2dbaa2b
parent2bdb21fe06c81e977e2bcf1ad3063ba96db9563f
xtensa: re-wire umount syscall to sys_oldumount

commit 2651cc6974d47fc43bef1cd8cd26966e4f5ba306 upstream.

Userspace actually passes single parameter (path name) to the umount
syscall, so new umount just fails. Fix it by requesting old umount
syscall implementation and re-wiring umount to it.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
[bwh: Backported to 3.2: adjust filename]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
arch/xtensa/include/asm/unistd.h