diff options
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/cdrom.h | 28 | ||||
-rw-r--r-- | include/linux/compat.h | 2 | ||||
-rw-r--r-- | include/linux/config.h | 9 | ||||
-rw-r--r-- | include/linux/dccp.h | 2 | ||||
-rw-r--r-- | include/linux/if_vlan.h | 2 | ||||
-rw-r--r-- | include/linux/io.h | 1 | ||||
-rw-r--r-- | include/linux/ioc4.h | 2 | ||||
-rw-r--r-- | include/linux/istallion.h | 4 | ||||
-rw-r--r-- | include/linux/mm.h | 1 | ||||
-rw-r--r-- | include/linux/mmc/protocol.h | 1 | ||||
-rw-r--r-- | include/linux/percpu.h | 2 | ||||
-rw-r--r-- | include/linux/sched.h | 7 | ||||
-rw-r--r-- | include/linux/smb_fs.h | 12 | ||||
-rw-r--r-- | include/linux/sunrpc/svc.h | 3 | ||||
-rw-r--r-- | include/linux/syscalls.h | 2 | ||||
-rw-r--r-- | include/linux/tifm.h | 1 | ||||
-rw-r--r-- | include/linux/timex.h | 3 | ||||
-rw-r--r-- | include/linux/ufs_fs.h | 10 | ||||
-rw-r--r-- | include/linux/xattr.h | 1 |
19 files changed, 51 insertions, 42 deletions
diff --git a/include/linux/cdrom.h b/include/linux/cdrom.h index 3c9b0bc05123..bbbe7b4da0bb 100644 --- a/include/linux/cdrom.h +++ b/include/linux/cdrom.h | |||
@@ -749,7 +749,7 @@ struct request_sense { | |||
749 | #define MRW_MODE_PC 0x03 | 749 | #define MRW_MODE_PC 0x03 |
750 | 750 | ||
751 | struct mrw_feature_desc { | 751 | struct mrw_feature_desc { |
752 | __u16 feature_code; | 752 | __be16 feature_code; |
753 | #if defined(__BIG_ENDIAN_BITFIELD) | 753 | #if defined(__BIG_ENDIAN_BITFIELD) |
754 | __u8 reserved1 : 2; | 754 | __u8 reserved1 : 2; |
755 | __u8 feature_version : 4; | 755 | __u8 feature_version : 4; |
@@ -776,7 +776,7 @@ struct mrw_feature_desc { | |||
776 | 776 | ||
777 | /* cf. mmc4r02g.pdf 5.3.10 Random Writable Feature (0020h) pg 197 of 635 */ | 777 | /* cf. mmc4r02g.pdf 5.3.10 Random Writable Feature (0020h) pg 197 of 635 */ |
778 | struct rwrt_feature_desc { | 778 | struct rwrt_feature_desc { |
779 | __u16 feature_code; | 779 | __be16 feature_code; |
780 | #if defined(__BIG_ENDIAN_BITFIELD) | 780 | #if defined(__BIG_ENDIAN_BITFIELD) |
781 | __u8 reserved1 : 2; | 781 | __u8 reserved1 : 2; |
782 | __u8 feature_version : 4; | 782 | __u8 feature_version : 4; |
@@ -803,7 +803,7 @@ struct rwrt_feature_desc { | |||
803 | }; | 803 | }; |
804 | 804 | ||
805 | typedef struct { | 805 | typedef struct { |
806 | __u16 disc_information_length; | 806 | __be16 disc_information_length; |
807 | #if defined(__BIG_ENDIAN_BITFIELD) | 807 | #if defined(__BIG_ENDIAN_BITFIELD) |
808 | __u8 reserved1 : 3; | 808 | __u8 reserved1 : 3; |
809 | __u8 erasable : 1; | 809 | __u8 erasable : 1; |
@@ -849,7 +849,7 @@ typedef struct { | |||
849 | } disc_information; | 849 | } disc_information; |
850 | 850 | ||
851 | typedef struct { | 851 | typedef struct { |
852 | __u16 track_information_length; | 852 | __be16 track_information_length; |
853 | __u8 track_lsb; | 853 | __u8 track_lsb; |
854 | __u8 session_lsb; | 854 | __u8 session_lsb; |
855 | __u8 reserved1; | 855 | __u8 reserved1; |
@@ -880,12 +880,12 @@ typedef struct { | |||
880 | __u8 lra_v : 1; | 880 | __u8 lra_v : 1; |
881 | __u8 reserved3 : 6; | 881 | __u8 reserved3 : 6; |
882 | #endif | 882 | #endif |
883 | __u32 track_start; | 883 | __be32 track_start; |
884 | __u32 next_writable; | 884 | __be32 next_writable; |
885 | __u32 free_blocks; | 885 | __be32 free_blocks; |
886 | __u32 fixed_packet_size; | 886 | __be32 fixed_packet_size; |
887 | __u32 track_size; | 887 | __be32 track_size; |
888 | __u32 last_rec_address; | 888 | __be32 last_rec_address; |
889 | } track_information; | 889 | } track_information; |
890 | 890 | ||
891 | struct feature_header { | 891 | struct feature_header { |
@@ -896,12 +896,12 @@ struct feature_header { | |||
896 | }; | 896 | }; |
897 | 897 | ||
898 | struct mode_page_header { | 898 | struct mode_page_header { |
899 | __u16 mode_data_length; | 899 | __be16 mode_data_length; |
900 | __u8 medium_type; | 900 | __u8 medium_type; |
901 | __u8 reserved1; | 901 | __u8 reserved1; |
902 | __u8 reserved2; | 902 | __u8 reserved2; |
903 | __u8 reserved3; | 903 | __u8 reserved3; |
904 | __u16 desc_length; | 904 | __be16 desc_length; |
905 | }; | 905 | }; |
906 | 906 | ||
907 | #ifdef __KERNEL__ | 907 | #ifdef __KERNEL__ |
@@ -1106,7 +1106,7 @@ typedef struct { | |||
1106 | #endif | 1106 | #endif |
1107 | __u8 session_format; | 1107 | __u8 session_format; |
1108 | __u8 reserved6; | 1108 | __u8 reserved6; |
1109 | __u32 packet_size; | 1109 | __be32 packet_size; |
1110 | __u16 audio_pause; | 1110 | __u16 audio_pause; |
1111 | __u8 mcn[16]; | 1111 | __u8 mcn[16]; |
1112 | __u8 isrc[16]; | 1112 | __u8 isrc[16]; |
@@ -1151,7 +1151,7 @@ typedef struct { | |||
1151 | } rpc_state_t; | 1151 | } rpc_state_t; |
1152 | 1152 | ||
1153 | struct event_header { | 1153 | struct event_header { |
1154 | __u16 data_len; | 1154 | __be16 data_len; |
1155 | #if defined(__BIG_ENDIAN_BITFIELD) | 1155 | #if defined(__BIG_ENDIAN_BITFIELD) |
1156 | __u8 nea : 1; | 1156 | __u8 nea : 1; |
1157 | __u8 reserved1 : 4; | 1157 | __u8 reserved1 : 4; |
diff --git a/include/linux/compat.h b/include/linux/compat.h index ef5cd192784c..f4ebf96f5308 100644 --- a/include/linux/compat.h +++ b/include/linux/compat.h | |||
@@ -163,7 +163,7 @@ asmlinkage long | |||
163 | compat_sys_set_robust_list(struct compat_robust_list_head __user *head, | 163 | compat_sys_set_robust_list(struct compat_robust_list_head __user *head, |
164 | compat_size_t len); | 164 | compat_size_t len); |
165 | asmlinkage long | 165 | asmlinkage long |
166 | compat_sys_get_robust_list(int pid, compat_uptr_t *head_ptr, | 166 | compat_sys_get_robust_list(int pid, compat_uptr_t __user *head_ptr, |
167 | compat_size_t __user *len_ptr); | 167 | compat_size_t __user *len_ptr); |
168 | 168 | ||
169 | long compat_sys_semctl(int first, int second, int third, void __user *uptr); | 169 | long compat_sys_semctl(int first, int second, int third, void __user *uptr); |
diff --git a/include/linux/config.h b/include/linux/config.h deleted file mode 100644 index 479ffb0a22d8..000000000000 --- a/include/linux/config.h +++ /dev/null | |||
@@ -1,9 +0,0 @@ | |||
1 | #ifndef _LINUX_CONFIG_H | ||
2 | #define _LINUX_CONFIG_H | ||
3 | /* This file is no longer in use and kept only for backward compatibility. | ||
4 | * autoconf.h is now included via -imacros on the commandline | ||
5 | */ | ||
6 | #warning Including config.h is deprecated. | ||
7 | #include <linux/autoconf.h> | ||
8 | |||
9 | #endif | ||
diff --git a/include/linux/dccp.h b/include/linux/dccp.h index d6f4ec467a4b..53553c99cad6 100644 --- a/include/linux/dccp.h +++ b/include/linux/dccp.h | |||
@@ -191,7 +191,7 @@ enum { | |||
191 | /* this structure is argument to DCCP_SOCKOPT_CHANGE_X */ | 191 | /* this structure is argument to DCCP_SOCKOPT_CHANGE_X */ |
192 | struct dccp_so_feat { | 192 | struct dccp_so_feat { |
193 | __u8 dccpsf_feat; | 193 | __u8 dccpsf_feat; |
194 | __u8 *dccpsf_val; | 194 | __u8 __user *dccpsf_val; |
195 | __u8 dccpsf_len; | 195 | __u8 dccpsf_len; |
196 | }; | 196 | }; |
197 | 197 | ||
diff --git a/include/linux/if_vlan.h b/include/linux/if_vlan.h index ab2740832742..35cb38573583 100644 --- a/include/linux/if_vlan.h +++ b/include/linux/if_vlan.h | |||
@@ -44,7 +44,7 @@ struct vlan_ethhdr { | |||
44 | unsigned char h_source[ETH_ALEN]; /* source ether addr */ | 44 | unsigned char h_source[ETH_ALEN]; /* source ether addr */ |
45 | __be16 h_vlan_proto; /* Should always be 0x8100 */ | 45 | __be16 h_vlan_proto; /* Should always be 0x8100 */ |
46 | __be16 h_vlan_TCI; /* Encapsulates priority and VLAN ID */ | 46 | __be16 h_vlan_TCI; /* Encapsulates priority and VLAN ID */ |
47 | unsigned short h_vlan_encapsulated_proto; /* packet type ID field (or len) */ | 47 | __be16 h_vlan_encapsulated_proto; /* packet type ID field (or len) */ |
48 | }; | 48 | }; |
49 | 49 | ||
50 | #include <linux/skbuff.h> | 50 | #include <linux/skbuff.h> |
diff --git a/include/linux/io.h b/include/linux/io.h index aa3f5af670b5..2ad96c3f0e4e 100644 --- a/include/linux/io.h +++ b/include/linux/io.h | |||
@@ -18,6 +18,7 @@ | |||
18 | #ifndef _LINUX_IO_H | 18 | #ifndef _LINUX_IO_H |
19 | #define _LINUX_IO_H | 19 | #define _LINUX_IO_H |
20 | 20 | ||
21 | #include <linux/types.h> | ||
21 | #include <asm/io.h> | 22 | #include <asm/io.h> |
22 | #include <asm/page.h> | 23 | #include <asm/page.h> |
23 | 24 | ||
diff --git a/include/linux/ioc4.h b/include/linux/ioc4.h index de73a3289cc2..51e2b9fb6372 100644 --- a/include/linux/ioc4.h +++ b/include/linux/ioc4.h | |||
@@ -157,7 +157,7 @@ struct ioc4_driver_data { | |||
157 | unsigned long idd_bar0; | 157 | unsigned long idd_bar0; |
158 | struct pci_dev *idd_pdev; | 158 | struct pci_dev *idd_pdev; |
159 | const struct pci_device_id *idd_pci_id; | 159 | const struct pci_device_id *idd_pci_id; |
160 | struct __iomem ioc4_misc_regs *idd_misc_regs; | 160 | struct ioc4_misc_regs __iomem *idd_misc_regs; |
161 | unsigned long count_period; | 161 | unsigned long count_period; |
162 | void *idd_serial_data; | 162 | void *idd_serial_data; |
163 | unsigned int idd_variant; | 163 | unsigned int idd_variant; |
diff --git a/include/linux/istallion.h b/include/linux/istallion.h index 1f996621bc9c..b55e2a035605 100644 --- a/include/linux/istallion.h +++ b/include/linux/istallion.h | |||
@@ -100,7 +100,7 @@ typedef struct stlibrd { | |||
100 | unsigned int iobase; | 100 | unsigned int iobase; |
101 | int iosize; | 101 | int iosize; |
102 | unsigned long memaddr; | 102 | unsigned long memaddr; |
103 | void *membase; | 103 | void __iomem *membase; |
104 | int memsize; | 104 | int memsize; |
105 | int pagesize; | 105 | int pagesize; |
106 | int hostoffset; | 106 | int hostoffset; |
@@ -113,7 +113,7 @@ typedef struct stlibrd { | |||
113 | void (*enable)(struct stlibrd *brdp); | 113 | void (*enable)(struct stlibrd *brdp); |
114 | void (*reenable)(struct stlibrd *brdp); | 114 | void (*reenable)(struct stlibrd *brdp); |
115 | void (*disable)(struct stlibrd *brdp); | 115 | void (*disable)(struct stlibrd *brdp); |
116 | char *(*getmemptr)(struct stlibrd *brdp, unsigned long offset, int line); | 116 | void __iomem *(*getmemptr)(struct stlibrd *brdp, unsigned long offset, int line); |
117 | void (*intr)(struct stlibrd *brdp); | 117 | void (*intr)(struct stlibrd *brdp); |
118 | void (*reset)(struct stlibrd *brdp); | 118 | void (*reset)(struct stlibrd *brdp); |
119 | stliport_t *ports[STL_MAXPORTS]; | 119 | stliport_t *ports[STL_MAXPORTS]; |
diff --git a/include/linux/mm.h b/include/linux/mm.h index b7966ab8cb6a..26146623be2f 100644 --- a/include/linux/mm.h +++ b/include/linux/mm.h | |||
@@ -593,6 +593,7 @@ static inline int page_mapped(struct page *page) | |||
593 | */ | 593 | */ |
594 | #define NOPAGE_SIGBUS (NULL) | 594 | #define NOPAGE_SIGBUS (NULL) |
595 | #define NOPAGE_OOM ((struct page *) (-1)) | 595 | #define NOPAGE_OOM ((struct page *) (-1)) |
596 | #define NOPAGE_REFAULT ((struct page *) (-2)) /* Return to userspace, rerun */ | ||
596 | 597 | ||
597 | /* | 598 | /* |
598 | * Error return values for the *_nopfn functions | 599 | * Error return values for the *_nopfn functions |
diff --git a/include/linux/mmc/protocol.h b/include/linux/mmc/protocol.h index 81c3f77f652c..08dec8d9e703 100644 --- a/include/linux/mmc/protocol.h +++ b/include/linux/mmc/protocol.h | |||
@@ -83,6 +83,7 @@ | |||
83 | 83 | ||
84 | /* Application commands */ | 84 | /* Application commands */ |
85 | #define SD_APP_SET_BUS_WIDTH 6 /* ac [1:0] bus width R1 */ | 85 | #define SD_APP_SET_BUS_WIDTH 6 /* ac [1:0] bus width R1 */ |
86 | #define SD_APP_SEND_NUM_WR_BLKS 22 /* adtc R1 */ | ||
86 | #define SD_APP_OP_COND 41 /* bcr [31:0] OCR R3 */ | 87 | #define SD_APP_OP_COND 41 /* bcr [31:0] OCR R3 */ |
87 | #define SD_APP_SEND_SCR 51 /* adtc R1 */ | 88 | #define SD_APP_SEND_SCR 51 /* adtc R1 */ |
88 | 89 | ||
diff --git a/include/linux/percpu.h b/include/linux/percpu.h index 46ec72fa2c84..600e3d387ffc 100644 --- a/include/linux/percpu.h +++ b/include/linux/percpu.h | |||
@@ -19,7 +19,7 @@ | |||
19 | * we force a syntax error here if it isn't. | 19 | * we force a syntax error here if it isn't. |
20 | */ | 20 | */ |
21 | #define get_cpu_var(var) (*({ \ | 21 | #define get_cpu_var(var) (*({ \ |
22 | extern int simple_indentifier_##var(void); \ | 22 | extern int simple_identifier_##var(void); \ |
23 | preempt_disable(); \ | 23 | preempt_disable(); \ |
24 | &__get_cpu_var(var); })) | 24 | &__get_cpu_var(var); })) |
25 | #define put_cpu_var(var) preempt_enable() | 25 | #define put_cpu_var(var) preempt_enable() |
diff --git a/include/linux/sched.h b/include/linux/sched.h index 331f4502e92b..6735c1cf334c 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h | |||
@@ -1065,9 +1065,10 @@ static inline int pid_alive(struct task_struct *p) | |||
1065 | } | 1065 | } |
1066 | 1066 | ||
1067 | /** | 1067 | /** |
1068 | * is_init - check if a task structure is the first user space | 1068 | * is_init - check if a task structure is init |
1069 | * task the kernel created. | 1069 | * @tsk: Task structure to be checked. |
1070 | * @p: Task structure to be checked. | 1070 | * |
1071 | * Check if a task structure is the first user space task the kernel created. | ||
1071 | */ | 1072 | */ |
1072 | static inline int is_init(struct task_struct *tsk) | 1073 | static inline int is_init(struct task_struct *tsk) |
1073 | { | 1074 | { |
diff --git a/include/linux/smb_fs.h b/include/linux/smb_fs.h index 367d6c3e8ed4..13b3af547864 100644 --- a/include/linux/smb_fs.h +++ b/include/linux/smb_fs.h | |||
@@ -43,17 +43,17 @@ static inline struct smb_inode_info *SMB_I(struct inode *inode) | |||
43 | 43 | ||
44 | /* macro names are short for word, double-word, long value (?) */ | 44 | /* macro names are short for word, double-word, long value (?) */ |
45 | #define WVAL(buf,pos) \ | 45 | #define WVAL(buf,pos) \ |
46 | (le16_to_cpu(get_unaligned((u16 *)((u8 *)(buf) + (pos))))) | 46 | (le16_to_cpu(get_unaligned((__le16 *)((u8 *)(buf) + (pos))))) |
47 | #define DVAL(buf,pos) \ | 47 | #define DVAL(buf,pos) \ |
48 | (le32_to_cpu(get_unaligned((u32 *)((u8 *)(buf) + (pos))))) | 48 | (le32_to_cpu(get_unaligned((__le32 *)((u8 *)(buf) + (pos))))) |
49 | #define LVAL(buf,pos) \ | 49 | #define LVAL(buf,pos) \ |
50 | (le64_to_cpu(get_unaligned((u64 *)((u8 *)(buf) + (pos))))) | 50 | (le64_to_cpu(get_unaligned((__le64 *)((u8 *)(buf) + (pos))))) |
51 | #define WSET(buf,pos,val) \ | 51 | #define WSET(buf,pos,val) \ |
52 | put_unaligned(cpu_to_le16((u16)(val)), (u16 *)((u8 *)(buf) + (pos))) | 52 | put_unaligned(cpu_to_le16((u16)(val)), (__le16 *)((u8 *)(buf) + (pos))) |
53 | #define DSET(buf,pos,val) \ | 53 | #define DSET(buf,pos,val) \ |
54 | put_unaligned(cpu_to_le32((u32)(val)), (u32 *)((u8 *)(buf) + (pos))) | 54 | put_unaligned(cpu_to_le32((u32)(val)), (__le32 *)((u8 *)(buf) + (pos))) |
55 | #define LSET(buf,pos,val) \ | 55 | #define LSET(buf,pos,val) \ |
56 | put_unaligned(cpu_to_le64((u64)(val)), (u64 *)((u8 *)(buf) + (pos))) | 56 | put_unaligned(cpu_to_le64((u64)(val)), (__le64 *)((u8 *)(buf) + (pos))) |
57 | 57 | ||
58 | /* where to find the base of the SMB packet proper */ | 58 | /* where to find the base of the SMB packet proper */ |
59 | #define smb_base(buf) ((u8 *)(((u8 *)(buf))+4)) | 59 | #define smb_base(buf) ((u8 *)(((u8 *)(buf))+4)) |
diff --git a/include/linux/sunrpc/svc.h b/include/linux/sunrpc/svc.h index d6288e89fd9d..9c9a8ad92477 100644 --- a/include/linux/sunrpc/svc.h +++ b/include/linux/sunrpc/svc.h | |||
@@ -57,7 +57,8 @@ struct svc_serv { | |||
57 | struct svc_stat * sv_stats; /* RPC statistics */ | 57 | struct svc_stat * sv_stats; /* RPC statistics */ |
58 | spinlock_t sv_lock; | 58 | spinlock_t sv_lock; |
59 | unsigned int sv_nrthreads; /* # of server threads */ | 59 | unsigned int sv_nrthreads; /* # of server threads */ |
60 | unsigned int sv_bufsz; /* datagram buffer size */ | 60 | unsigned int sv_max_payload; /* datagram payload size */ |
61 | unsigned int sv_max_mesg; /* max_payload + 1 page for overheads */ | ||
61 | unsigned int sv_xdrsize; /* XDR buffer size */ | 62 | unsigned int sv_xdrsize; /* XDR buffer size */ |
62 | 63 | ||
63 | struct list_head sv_permsocks; /* all permanent sockets */ | 64 | struct list_head sv_permsocks; /* all permanent sockets */ |
diff --git a/include/linux/syscalls.h b/include/linux/syscalls.h index 3efcfc7e9c6c..b0ace3fd7eb9 100644 --- a/include/linux/syscalls.h +++ b/include/linux/syscalls.h | |||
@@ -593,7 +593,7 @@ asmlinkage long sys_tee(int fdin, int fdout, size_t len, unsigned int flags); | |||
593 | asmlinkage long sys_sync_file_range(int fd, loff_t offset, loff_t nbytes, | 593 | asmlinkage long sys_sync_file_range(int fd, loff_t offset, loff_t nbytes, |
594 | unsigned int flags); | 594 | unsigned int flags); |
595 | asmlinkage long sys_get_robust_list(int pid, | 595 | asmlinkage long sys_get_robust_list(int pid, |
596 | struct robust_list_head __user **head_ptr, | 596 | struct robust_list_head __user * __user *head_ptr, |
597 | size_t __user *len_ptr); | 597 | size_t __user *len_ptr); |
598 | asmlinkage long sys_set_robust_list(struct robust_list_head __user *head, | 598 | asmlinkage long sys_set_robust_list(struct robust_list_head __user *head, |
599 | size_t len); | 599 | size_t len); |
diff --git a/include/linux/tifm.h b/include/linux/tifm.h index 203dd5e11ecb..dfb8052eee5e 100644 --- a/include/linux/tifm.h +++ b/include/linux/tifm.h | |||
@@ -17,6 +17,7 @@ | |||
17 | #include <linux/wait.h> | 17 | #include <linux/wait.h> |
18 | #include <linux/delay.h> | 18 | #include <linux/delay.h> |
19 | #include <linux/pci.h> | 19 | #include <linux/pci.h> |
20 | #include <linux/scatterlist.h> | ||
20 | 21 | ||
21 | /* Host registers (relative to pci base address): */ | 22 | /* Host registers (relative to pci base address): */ |
22 | enum { | 23 | enum { |
diff --git a/include/linux/timex.h b/include/linux/timex.h index 049dfe4a11f2..db501dc23c29 100644 --- a/include/linux/timex.h +++ b/include/linux/timex.h | |||
@@ -293,6 +293,9 @@ extern void second_overflow(void); | |||
293 | extern void update_ntp_one_tick(void); | 293 | extern void update_ntp_one_tick(void); |
294 | extern int do_adjtimex(struct timex *); | 294 | extern int do_adjtimex(struct timex *); |
295 | 295 | ||
296 | /* Don't use! Compatibility define for existing users. */ | ||
297 | #define tickadj (500/HZ ? : 1) | ||
298 | |||
296 | #endif /* KERNEL */ | 299 | #endif /* KERNEL */ |
297 | 300 | ||
298 | #endif /* LINUX_TIMEX_H */ | 301 | #endif /* LINUX_TIMEX_H */ |
diff --git a/include/linux/ufs_fs.h b/include/linux/ufs_fs.h index fc62887c5206..61eef508b041 100644 --- a/include/linux/ufs_fs.h +++ b/include/linux/ufs_fs.h | |||
@@ -351,6 +351,14 @@ struct ufs2_csum_total { | |||
351 | __fs64 cs_spare[3]; /* future expansion */ | 351 | __fs64 cs_spare[3]; /* future expansion */ |
352 | }; | 352 | }; |
353 | 353 | ||
354 | struct ufs_csum_core { | ||
355 | __u64 cs_ndir; /* number of directories */ | ||
356 | __u64 cs_nbfree; /* number of free blocks */ | ||
357 | __u64 cs_nifree; /* number of free inodes */ | ||
358 | __u64 cs_nffree; /* number of free frags */ | ||
359 | __u64 cs_numclusters; /* number of free clusters */ | ||
360 | }; | ||
361 | |||
354 | /* | 362 | /* |
355 | * File system flags | 363 | * File system flags |
356 | */ | 364 | */ |
@@ -715,7 +723,7 @@ struct ufs_cg_private_info { | |||
715 | 723 | ||
716 | struct ufs_sb_private_info { | 724 | struct ufs_sb_private_info { |
717 | struct ufs_buffer_head s_ubh; /* buffer containing super block */ | 725 | struct ufs_buffer_head s_ubh; /* buffer containing super block */ |
718 | struct ufs2_csum_total cs_total; | 726 | struct ufs_csum_core cs_total; |
719 | __u32 s_sblkno; /* offset of super-blocks in filesys */ | 727 | __u32 s_sblkno; /* offset of super-blocks in filesys */ |
720 | __u32 s_cblkno; /* offset of cg-block in filesys */ | 728 | __u32 s_cblkno; /* offset of cg-block in filesys */ |
721 | __u32 s_iblkno; /* offset of inode-blocks in filesys */ | 729 | __u32 s_iblkno; /* offset of inode-blocks in filesys */ |
diff --git a/include/linux/xattr.h b/include/linux/xattr.h index cda8a96e2fa0..0e7f1e20ea45 100644 --- a/include/linux/xattr.h +++ b/include/linux/xattr.h | |||
@@ -41,6 +41,7 @@ struct xattr_handler { | |||
41 | }; | 41 | }; |
42 | 42 | ||
43 | ssize_t vfs_getxattr(struct dentry *, char *, void *, size_t); | 43 | ssize_t vfs_getxattr(struct dentry *, char *, void *, size_t); |
44 | ssize_t vfs_listxattr(struct dentry *d, char *list, size_t size); | ||
44 | int vfs_setxattr(struct dentry *, char *, void *, size_t, int); | 45 | int vfs_setxattr(struct dentry *, char *, void *, size_t, int); |
45 | int vfs_removexattr(struct dentry *, char *); | 46 | int vfs_removexattr(struct dentry *, char *); |
46 | 47 | ||