readahead: add blk_run_backing_dev
[sfrench/cifs-2.6.git] / include / net / scm.h
index cf48c800e92636865002755cf76d173c42a746cd..8360e47aa7e322336099d09163db1b4254e47016 100644 (file)
  */
 #define SCM_MAX_FD     255
 
-struct scm_fp_list
-{
+struct scm_fp_list {
        struct list_head        list;
        int                     count;
        struct file             *fp[SCM_MAX_FD];
 };
 
-struct scm_cookie
-{
+struct scm_cookie {
        struct ucred            creds;          /* Skb credentials      */
        struct scm_fp_list      *fp;            /* Passed files         */
 #ifdef CONFIG_SECURITY_NETWORK
@@ -88,8 +86,7 @@ static inline void scm_passec(struct socket *sock, struct msghdr *msg, struct sc
 static __inline__ void scm_recv(struct socket *sock, struct msghdr *msg,
                                struct scm_cookie *scm, int flags)
 {
-       if (!msg->msg_control)
-       {
+       if (!msg->msg_control) {
                if (test_bit(SOCK_PASSCRED, &sock->flags) || scm->fp)
                        msg->msg_flags |= MSG_CTRUNC;
                scm_destroy(scm);