mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-06 22:42:10 +00:00
headers_check fix: linux/coda_psdev.h
fix the following 'make headers_check' warning: usr/include/linux/coda_psdev.h:90: extern's make no sense in userspace Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
This commit is contained in:
parent
1ff8f739c7
commit
7e7f4eae28
1 changed files with 7 additions and 8 deletions
|
@ -24,7 +24,7 @@ static inline struct venus_comm *coda_vcp(struct super_block *sb)
|
||||||
return (struct venus_comm *)((sb)->s_fs_info);
|
return (struct venus_comm *)((sb)->s_fs_info);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef __KERNEL__
|
||||||
/* upcalls */
|
/* upcalls */
|
||||||
int venus_rootfid(struct super_block *sb, struct CodaFid *fidp);
|
int venus_rootfid(struct super_block *sb, struct CodaFid *fidp);
|
||||||
int venus_getattr(struct super_block *sb, struct CodaFid *fid,
|
int venus_getattr(struct super_block *sb, struct CodaFid *fid,
|
||||||
|
@ -64,6 +64,12 @@ int coda_downcall(int opcode, union outputArgs *out, struct super_block *sb);
|
||||||
int venus_fsync(struct super_block *sb, struct CodaFid *fid);
|
int venus_fsync(struct super_block *sb, struct CodaFid *fid);
|
||||||
int venus_statfs(struct dentry *dentry, struct kstatfs *sfs);
|
int venus_statfs(struct dentry *dentry, struct kstatfs *sfs);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Statistics
|
||||||
|
*/
|
||||||
|
|
||||||
|
extern struct venus_comm coda_comms[];
|
||||||
|
#endif /* __KERNEL__ */
|
||||||
|
|
||||||
/* messages between coda filesystem in kernel and Venus */
|
/* messages between coda filesystem in kernel and Venus */
|
||||||
struct upc_req {
|
struct upc_req {
|
||||||
|
@ -82,11 +88,4 @@ struct upc_req {
|
||||||
#define REQ_WRITE 0x4
|
#define REQ_WRITE 0x4
|
||||||
#define REQ_ABORT 0x8
|
#define REQ_ABORT 0x8
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Statistics
|
|
||||||
*/
|
|
||||||
|
|
||||||
extern struct venus_comm coda_comms[];
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue