]> err.no Git - linux-2.6/commit
[PATCH] uml: fix mknod
authorJohannes Stezenbach <js@linuxtv.org>
Mon, 29 Jan 2007 21:19:44 +0000 (13:19 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 30 Jan 2007 16:26:44 +0000 (08:26 -0800)
commit88f6cd0c3bb5db2619103f834d4167b7d0d9899c
tree06ee040a40e749dc1bf2fed61201db9d2a4d0356
parent7a238fcba0629b6f2edbcd37458bae56fcf36be5
[PATCH] uml: fix mknod

Fix UML hostfs mknod(): userspace has differernt dev_t size and encoding
than kernel, so extract major/minor and reencode using glibc makedev()
macro.

Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
Acked-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Cc: Jeff Dike <jdike@addtoit.com>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/hostfs/hostfs.h
fs/hostfs/hostfs_kern.c
fs/hostfs/hostfs_user.c