diff options
| author | Jeff Garzik <jgarzik@pobox.com> | 2005-11-10 04:12:10 -0500 | 
|---|---|---|
| committer | Jeff Garzik <jgarzik@pobox.com> | 2005-11-10 04:12:10 -0500 | 
| commit | 2f67bdb23d74a6c6fd4f98f64239c5c34d1833cc (patch) | |
| tree | fe533abe3e7c400848647b95e4806f5125c654c3 /include/linux/quotaops.h | |
| parent | d40d9d29c020f8466c96f8e3ad4b7c014ff1085d (diff) | |
| parent | 3b44f137b9a846c5452d9e6e1271b79b1dbcc942 (diff) | |
Merge branch 'master'
Diffstat (limited to 'include/linux/quotaops.h')
| -rw-r--r-- | include/linux/quotaops.h | 12 | 
1 files changed, 6 insertions, 6 deletions
| diff --git a/include/linux/quotaops.h b/include/linux/quotaops.h index d211507ab246..4f34d3d60f2e 100644 --- a/include/linux/quotaops.h +++ b/include/linux/quotaops.h | |||
| @@ -198,38 +198,38 @@ static __inline__ int DQUOT_OFF(struct super_block *sb) | |||
| 198 | #define DQUOT_SYNC(sb) do { } while(0) | 198 | #define DQUOT_SYNC(sb) do { } while(0) | 
| 199 | #define DQUOT_OFF(sb) do { } while(0) | 199 | #define DQUOT_OFF(sb) do { } while(0) | 
| 200 | #define DQUOT_TRANSFER(inode, iattr) (0) | 200 | #define DQUOT_TRANSFER(inode, iattr) (0) | 
| 201 | extern __inline__ int DQUOT_PREALLOC_SPACE_NODIRTY(struct inode *inode, qsize_t nr) | 201 | static inline int DQUOT_PREALLOC_SPACE_NODIRTY(struct inode *inode, qsize_t nr) | 
| 202 | { | 202 | { | 
| 203 | inode_add_bytes(inode, nr); | 203 | inode_add_bytes(inode, nr); | 
| 204 | return 0; | 204 | return 0; | 
| 205 | } | 205 | } | 
| 206 | 206 | ||
| 207 | extern __inline__ int DQUOT_PREALLOC_SPACE(struct inode *inode, qsize_t nr) | 207 | static inline int DQUOT_PREALLOC_SPACE(struct inode *inode, qsize_t nr) | 
| 208 | { | 208 | { | 
| 209 | DQUOT_PREALLOC_SPACE_NODIRTY(inode, nr); | 209 | DQUOT_PREALLOC_SPACE_NODIRTY(inode, nr); | 
| 210 | mark_inode_dirty(inode); | 210 | mark_inode_dirty(inode); | 
| 211 | return 0; | 211 | return 0; | 
| 212 | } | 212 | } | 
| 213 | 213 | ||
| 214 | extern __inline__ int DQUOT_ALLOC_SPACE_NODIRTY(struct inode *inode, qsize_t nr) | 214 | static inline int DQUOT_ALLOC_SPACE_NODIRTY(struct inode *inode, qsize_t nr) | 
| 215 | { | 215 | { | 
| 216 | inode_add_bytes(inode, nr); | 216 | inode_add_bytes(inode, nr); | 
| 217 | return 0; | 217 | return 0; | 
| 218 | } | 218 | } | 
| 219 | 219 | ||
| 220 | extern __inline__ int DQUOT_ALLOC_SPACE(struct inode *inode, qsize_t nr) | 220 | static inline int DQUOT_ALLOC_SPACE(struct inode *inode, qsize_t nr) | 
| 221 | { | 221 | { | 
| 222 | DQUOT_ALLOC_SPACE_NODIRTY(inode, nr); | 222 | DQUOT_ALLOC_SPACE_NODIRTY(inode, nr); | 
| 223 | mark_inode_dirty(inode); | 223 | mark_inode_dirty(inode); | 
| 224 | return 0; | 224 | return 0; | 
| 225 | } | 225 | } | 
| 226 | 226 | ||
| 227 | extern __inline__ void DQUOT_FREE_SPACE_NODIRTY(struct inode *inode, qsize_t nr) | 227 | static inline void DQUOT_FREE_SPACE_NODIRTY(struct inode *inode, qsize_t nr) | 
| 228 | { | 228 | { | 
| 229 | inode_sub_bytes(inode, nr); | 229 | inode_sub_bytes(inode, nr); | 
| 230 | } | 230 | } | 
| 231 | 231 | ||
| 232 | extern __inline__ void DQUOT_FREE_SPACE(struct inode *inode, qsize_t nr) | 232 | static inline void DQUOT_FREE_SPACE(struct inode *inode, qsize_t nr) | 
| 233 | { | 233 | { | 
| 234 | DQUOT_FREE_SPACE_NODIRTY(inode, nr); | 234 | DQUOT_FREE_SPACE_NODIRTY(inode, nr); | 
| 235 | mark_inode_dirty(inode); | 235 | mark_inode_dirty(inode); | 
