summaryrefslogtreecommitdiffstats
path: root/net/unix
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2011-11-21 20:58:38 +0100
committerAl Viro <viro@zeniv.linux.org.uk>2012-01-04 04:55:19 +0100
commit04fc66e789a896e684bfdca30208e57eb832dd96 (patch)
tree37c26bff07e48c8c25d147850b7906d0d1c79a81 /net/unix
parentswitch ->path_mkdir() to umode_t (diff)
downloadlinux-04fc66e789a896e684bfdca30208e57eb832dd96.tar.xz
linux-04fc66e789a896e684bfdca30208e57eb832dd96.zip
switch ->path_mknod() to umode_t
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'net/unix')
-rw-r--r--net/unix/af_unix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/unix/af_unix.c b/net/unix/af_unix.c
index b595a3d8679f..412a99f4a3f7 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)
atomic_set(&addr->refcnt, 1);
if (sun_path[0]) {
- unsigned int mode;
+ umode_t mode;
err = 0;
/*
* Get the parent directory, calculate the hash for last