diff options
Diffstat (limited to 'fs/coda/coda_linux.h')
-rw-r--r-- | fs/coda/coda_linux.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/fs/coda/coda_linux.h b/fs/coda/coda_linux.h index 126155cadfa9..d5ebd36fb2cc 100644 --- a/fs/coda/coda_linux.h +++ b/fs/coda/coda_linux.h | |||
@@ -59,22 +59,6 @@ void coda_vattr_to_iattr(struct inode *, struct coda_vattr *); | |||
59 | void coda_iattr_to_vattr(struct iattr *, struct coda_vattr *); | 59 | void coda_iattr_to_vattr(struct iattr *, struct coda_vattr *); |
60 | unsigned short coda_flags_to_cflags(unsigned short); | 60 | unsigned short coda_flags_to_cflags(unsigned short); |
61 | 61 | ||
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 | |||
78 | /* inode to cnode access functions */ | 62 | /* inode to cnode access functions */ |
79 | 63 | ||
80 | static inline struct coda_inode_info *ITOC(struct inode *inode) | 64 | static inline struct coda_inode_info *ITOC(struct inode *inode) |