diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2011-11-21 14:58:38 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-01-03 22:55:19 -0500 |
commit | 04fc66e789a896e684bfdca30208e57eb832dd96 (patch) | |
tree | 37c26bff07e48c8c25d147850b7906d0d1c79a81 /net/unix/af_unix.c | |
parent | 4572befe248fd0d94aedc98775e3f0ddc8a26651 (diff) |
switch ->path_mknod() to umode_t
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'net/unix/af_unix.c')
-rw-r--r-- | net/unix/af_unix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/unix/af_unix.c b/net/unix/af_unix.c index b595a3d8679..412a99f4a3f 100644 --- a/net/unix/af_unix.c +++ b/net/unix/af_unix.c | |||
@@ -847,7 +847,7 @@ static int unix_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len) | |||
847 | atomic_set(&addr->refcnt, 1); | 847 | atomic_set(&addr->refcnt, 1); |
848 | 848 | ||
849 | if (sun_path[0]) { | 849 | if (sun_path[0]) { |
850 | unsigned int mode; | 850 | umode_t mode; |
851 | err = 0; | 851 | err = 0; |
852 | /* | 852 | /* |
853 | * Get the parent directory, calculate the hash for last | 853 | * Get the parent directory, calculate the hash for last |