summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2011-11-21 14:58:38 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2012-01-03 22:55:19 -0500
commit04fc66e789a896e684bfdca30208e57eb832dd96 (patch)
tree37c26bff07e48c8c25d147850b7906d0d1c79a81 /net
parent4572befe248fd0d94aedc98775e3f0ddc8a26651 (diff)
downloadlinux-04fc66e789a896e684bfdca30208e57eb832dd96.tar.bz2
switch ->path_mknod() to umode_t
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'net')
-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