diff options
| author | Andrew Morton <akpm@osdl.org> | 2004-05-09 23:52:43 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-05-09 23:52:43 -0700 |
| commit | 844ef7b98b5108fda7d7c7af7935237ae397999f (patch) | |
| tree | 3e75cd8efcc8659d4ca82f9c79d55a676db45074 /include | |
| parent | 74499d325f9072130c0e4754e914f0f6e597a815 (diff) | |
[PATCH] Fix deadlock in journalled quota
From: Jan Kara <jack@ucw.cz>
Attached patch should fix reported deadlock in journalled quota code.
quotactl() call was violating the locking rules and didn't start transaction
when it should.
From: <raven@themaw.net>
Found a couple of symbols not exported that were needed by the ext3.ko
module.
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/quota.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/quota.h b/include/linux/quota.h index bbd9134abaf3..506d52452e98 100644 --- a/include/linux/quota.h +++ b/include/linux/quota.h @@ -250,6 +250,8 @@ struct dquot_operations { int (*free_inode) (const struct inode *, unsigned long); int (*transfer) (struct inode *, struct iattr *); int (*write_dquot) (struct dquot *); /* Ordinary dquot write */ + int (*acquire_dquot) (struct dquot *); /* Quota is going to be created on disk */ + int (*release_dquot) (struct dquot *); /* Quota is going to be deleted from disk */ int (*mark_dirty) (struct dquot *); /* Dquot is marked dirty */ int (*write_info) (struct super_block *, int); /* Write of quota "superblock" */ }; |
