Commit 57eec03c authored by David S. Miller's avatar David S. Miller Committed by Thomas Graf

[SPARC64]: Fix typo in previous change, s/IS_SOCK/S_ISSOCK/

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 9f98ce8f
......@@ -921,7 +921,7 @@ asmlinkage int solaris_putmsg(unsigned int fd, u32 arg1, u32 arg2, u32 arg3)
ino = filp->f_dentry->d_inode;
if (!ino) goto out;
if (!IS_SOCK(ino->i_mode) &&
if (!S_ISSOCK(ino->i_mode) &&
(imajor(ino) != 30 || iminor(ino) != 1))
goto out;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment