Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 94120
b: refs/heads/master
c: 50f8c37
h: refs/heads/master
v: v3
  • Loading branch information
Andrew Morton authored and Linus Torvalds committed Apr 28, 2008
1 parent 6702577 commit ac6a5de
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1b445a9c21f593be9d3c4ab912359d2c51c371dd
refs/heads/master: 50f8c370e77befe9121720bd7bdada2ac0d13915
45 changes: 37 additions & 8 deletions trunk/include/linux/quotaops.h
Original file line number Diff line number Diff line change
Expand Up @@ -207,14 +207,43 @@ static inline int DQUOT_ON_REMOUNT(struct super_block *sb)
*/
#define sb_dquot_ops (NULL)
#define sb_quotactl_ops (NULL)
#define DQUOT_INIT(inode) do { } while(0)
#define DQUOT_DROP(inode) do { } while(0)
#define DQUOT_ALLOC_INODE(inode) (0)
#define DQUOT_FREE_INODE(inode) do { } while(0)
#define DQUOT_SYNC(sb) do { } while(0)
#define DQUOT_OFF(sb, remount) (0)
#define DQUOT_ON_REMOUNT(sb) (0)
#define DQUOT_TRANSFER(inode, iattr) (0)

static inline void DQUOT_INIT(struct inode *inode)
{
}

static inline void DQUOT_DROP(struct inode *inode)
{
}

static inline int DQUOT_ALLOC_INODE(struct inode *inode)
{
return 0;
}

static inline void DQUOT_FREE_INODE(struct inode *inode)
{
}

static inline void DQUOT_SYNC(struct super_block *sb)
{
}

static inline int DQUOT_OFF(struct super_block *sb, int remount)
{
return 0;
}

static inline int DQUOT_ON_REMOUNT(struct super_block *sb)
{
return 0;
}

static inline int DQUOT_TRANSFER(struct inode *inode, struct iattr *iattr)
{
return 0;
}

static inline int DQUOT_PREALLOC_SPACE_NODIRTY(struct inode *inode, qsize_t nr)
{
inode_add_bytes(inode, nr);
Expand Down

0 comments on commit ac6a5de

Please sign in to comment.