summaryrefslogtreecommitdiff
path: root/pfinet/glue-include/linux/fs.h
blob: 45dbb19facce1cade07d5debaaa88f27a11096f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef _HACK_FS_H
#define _HACK_FS_H

#include <linux/net.h>

/* Hackery */
struct inode
{
  union
  {
    int i_garbage;
    struct socket socket_i;	/* icmp.c actually needs this!! */
  } u;
};
#define i_uid u.i_garbage
#define i_gid u.i_garbage
#define i_sock u.i_garbage
#define i_ino u.i_garbage
#define i_mode u.i_garbage

#endif