aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/quotaops.h45
1 files changed, 37 insertions, 8 deletions
diff --git a/include/linux/quotaops.h b/include/linux/quotaops.h
index c97c8f3fa6ee..f86702053853 100644
--- a/include/linux/quotaops.h
+++ b/include/linux/quotaops.h
@@ -207,14 +207,43 @@ static inline int DQUOT_ON_REMOUNT(struct super_block *sb)
207 */ 207 */
208#define sb_dquot_ops (NULL) 208#define sb_dquot_ops (NULL)
209#define sb_quotactl_ops (NULL) 209#define sb_quotactl_ops (NULL)
210#define DQUOT_INIT(inode) do { } while(0) 210
211#define DQUOT_DROP(inode) do { } while(0) 211static inline void DQUOT_INIT(struct inode *inode)
212#define DQUOT_ALLOC_INODE(inode) (0) 212{
213#define DQUOT_FREE_INODE(inode) do { } while(0) 213}
214#define DQUOT_SYNC(sb) do { } while(0) 214
215#define DQUOT_OFF(sb, remount) (0) 215static inline void DQUOT_DROP(struct inode *inode)
216#define DQUOT_ON_REMOUNT(sb) (0) 216{
217#define DQUOT_TRANSFER(inode, iattr) (0) 217}
218
219static inline int DQUOT_ALLOC_INODE(struct inode *inode)
220{
221 return 0;
222}
223
224static inline void DQUOT_FREE_INODE(struct inode *inode)
225{
226}
227
228static inline void DQUOT_SYNC(struct super_block *sb)
229{
230}
231
232static inline int DQUOT_OFF(struct super_block *sb, int remount)
233{
234 return 0;
235}
236
237static inline int DQUOT_ON_REMOUNT(struct super_block *sb)
238{
239 return 0;
240}
241
242static inline int DQUOT_TRANSFER(struct inode *inode, struct iattr *iattr)
243{
244 return 0;
245}
246
218static inline int DQUOT_PREALLOC_SPACE_NODIRTY(struct inode *inode, qsize_t nr) 247static inline int DQUOT_PREALLOC_SPACE_NODIRTY(struct inode *inode, qsize_t nr)
219{ 248{
220 inode_add_bytes(inode, nr); 249 inode_add_bytes(inode, nr);