[uml-devel] drivers/net/ethernet/marvell/mvmdio.c:191:3: error: implicit declaration of function 'iounmap'

2013-03-27 Thread Fengguang Wu
Hi Thomas, FYI, kernel build failed on tree: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux master head: de55eb1d60d2ed0f1ba5e13226d91b3bfbe1c108 commit: fc8f5aded1cf9f5505c55694b36174621c7ac88c net: mvmdio: new Marvell MDIO driver date: 4 months ago config: make ARCH=um all

[uml-devel] [PATCH 3/3] hostfs: use kmalloc instead of kzalloc

2013-03-27 Thread James Hogan
The inode info structure is zeroed at allocation with kzalloc, and then all but one of the fields (including the largest, vfs_inode) are initialised explicitly. Switch to using kmalloc and initialise the remaining field too. Reported-by: Al Viro Signed-off-by: James Hogan --- fs/hostfs/hostfs_k

[uml-devel] [PATCH 2/3] hostfs: move HOSTFS_SUPER_MAGIC to

2013-03-27 Thread James Hogan
Move HOSTFS_SUPER_MAGIC to to be with it's magical friends from other file systems. Reported-by: Al Viro Signed-off-by: James Hogan --- fs/hostfs/hostfs_kern.c| 3 +-- include/uapi/linux/magic.h | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/hostfs/hostfs_kern.c b

[uml-devel] [PATCH 1/3] hostfs: remove "will unlock" comment

2013-03-27 Thread James Hogan
A "will unlock" comment was added to hostfs in the following commit, along with a spinlock: Commit e9193059b1b3733695d5b80e667778311695aa73 ("hostfs: fix races in dentry_name() and inode_name()"). But the spinlock was subsequently removed in the following commit: Commit ec2447c278ee973d35f38e53c

[uml-devel] [PATCH 0/3] hostfs: tweaks from imgdafs review

2013-03-27 Thread James Hogan
This patchset contains some tweaks to hostfs, based on imgdafs review comments from Al Viro which also apply to hostfs. James Hogan (3): hostfs: remove "will unlock" comment hostfs: move HOSTFS_SUPER_MAGIC to hostfs: use kmalloc instead of kzalloc fs/hostfs/hostfs_kern.c| 8