minix: fix regression in minix_mkdir()
authorJorge Boncompte [DTI2] <jorge@dti2.net>
Thu, 9 Sep 2010 23:38:19 +0000 (16:38 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 10 Sep 2010 01:57:25 +0000 (18:57 -0700)
commiteee743fd7eac9f2ea69ad06d093dfb5a12538fe5
tree0d7d7f66393c76583007459b3ec5a19528cff8ab
parent9ee493ce0a60bf42c0f8fd0b0fe91df5704a1cbf
minix: fix regression in minix_mkdir()

Commit 9eed1fb721c ("minix: replace inode uid,gid,mode init with helper")
broke directory creation on minix filesystems.

Fix it by passing the needed mode flag to inode init helper.

Signed-off-by: Jorge Boncompte [DTI2] <jorge@dti2.net>
Cc: Dmitry Monakhov <dmonakhov@openvz.org>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: <stable@kernel.org> [2.6.35.x]
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/minix/namei.c