[PATCH] CIFS: respect umask when using POSIX mkdir

2007-09-12 Thread Jeff Layton
When making a directory with POSIX mkdir calls, cifs_mkdir does not respect the umask. This moves the AND'ing of the mode with the umask to higher in the function so that the POSIX mkdir creates with the correct mode. Signed-off-by: Jeff Layton <[EMAIL PROTECTED]> --- fs/cifs/inode.c |2 +-

[PATCH] CIFS: respect umask when using POSIX mkdir

2007-09-12 Thread Jeff Layton
When making a directory with POSIX mkdir calls, cifs_mkdir does not respect the umask. This moves the AND'ing of the mode with the umask to higher in the function so that the POSIX mkdir creates with the correct mode. Signed-off-by: Jeff Layton [EMAIL PROTECTED] --- fs/cifs/inode.c |2 +- 1