security: struct security_operations kerneldoc fix
authorJavier Martinez Canillas <javier@dowhile0.org>
Wed, 15 Feb 2012 10:58:54 +0000 (11:58 +0100)
committerJiri Kosina <jkosina@suse.cz>
Tue, 28 Feb 2012 15:01:55 +0000 (16:01 +0100)
unix_may_send hook has the prototype:

int (*unix_may_send) (struct socket *sock, struct socket *other)

so the documentation is wrongly referring to the second argument as @sock.

Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
include/linux/security.h

index 83c18e8c846d399832c5ab3ab2e5500286b26186..c8949385e56ef257f7882fe786fd95a38ceffa64 100644 (file)
@@ -812,7 +812,7 @@ static inline void security_free_mnt_opts(struct security_mnt_opts *opts)
  *     Check permissions before connecting or sending datagrams from @sock to
  *     @other.
  *     @sock contains the socket structure.
- *     @sock contains the peer socket structure.
+ *     @other contains the peer socket structure.
  *     Return 0 if permission is granted.
  *
  * The @unix_stream_connect and @unix_may_send hooks were necessary because