]> git.karo-electronics.de Git - karo-tx-linux.git/commit
CIFS: Respect umask when using POSIX mkdir
authorSteve French <sfrench@us.ibm.com>
Mon, 17 Dec 2007 22:08:58 +0000 (23:08 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 8 Feb 2008 20:01:42 +0000 (12:01 -0800)
commit72754b23ef3a4b1b1982ce51a9778bf491f1bd1f
tree92c4f003dc5d7c294d7a9dce16bd6f6c4e3812d0
parent8fdb939daf356463911a58daf8b9146e6ee7cf81
CIFS: Respect umask when using POSIX mkdir

patch a8cd925f74c3b1b6d1192f9e75f9d12cc2ab148a in mainline.

[CIFS] Respect umask when using POSIX mkdir

When making a directory with POSIX mkdir calls, cifs_mkdir does not
respect the umask.  This patch causes the new POSIX mkdir to create with
the right mode

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Cc: maximilian attems <max@stro.at>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/cifs/inode.c