hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/fs/coda/coda_linux.h
....@@ -59,22 +59,6 @@
5959 void coda_iattr_to_vattr(struct iattr *, struct coda_vattr *);
6060 unsigned short coda_flags_to_cflags(unsigned short);
6161
62
-/* sysctl.h */
63
-void coda_sysctl_init(void);
64
-void coda_sysctl_clean(void);
65
-
66
-#define CODA_ALLOC(ptr, cast, size) do { \
67
- if (size < PAGE_SIZE) \
68
- ptr = kzalloc((unsigned long) size, GFP_KERNEL); \
69
- else \
70
- ptr = (cast)vzalloc((unsigned long) size); \
71
- if (!ptr) \
72
- pr_warn("kernel malloc returns 0 at %s:%d\n", __FILE__, __LINE__); \
73
-} while (0)
74
-
75
-
76
-#define CODA_FREE(ptr, size) kvfree((ptr))
77
-
7862 /* inode to cnode access functions */
7963
8064 static inline struct coda_inode_info *ITOC(struct inode *inode)