aboutsummaryrefslogtreecommitdiffstats
path: root/fs/quota_v2.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2006-03-23 03:00:29 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2006-03-23 07:38:11 -0800
commitd3be915fc5e7d19a2283ad9b0fe0782a74675d0a (patch)
treee03647affdee4e72dbff4a5da55bcf32bfa65901 /fs/quota_v2.c
parent[PATCH] sem2mutex: blockdev #2 (diff)
downloadlinux-dev-d3be915fc5e7d19a2283ad9b0fe0782a74675d0a.tar.xz
linux-dev-d3be915fc5e7d19a2283ad9b0fe0782a74675d0a.zip
[PATCH] sem2mutex: quota
Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Ingo Molnar <mingo@elte.hu> Cc: Jan Kara <jack@ucw.cz> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/quota_v2.c')
-rw-r--r--fs/quota_v2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/quota_v2.c b/fs/quota_v2.c
index b4199ec3ece4..c519a583e681 100644
--- a/fs/quota_v2.c
+++ b/fs/quota_v2.c
@@ -394,7 +394,7 @@ static int v2_write_dquot(struct dquot *dquot)
ssize_t ret;
struct v2_disk_dqblk ddquot, empty;
- /* dq_off is guarded by dqio_sem */
+ /* dq_off is guarded by dqio_mutex */
if (!dquot->dq_off)
if ((ret = dq_insert_tree(dquot)) < 0) {
printk(KERN_ERR "VFS: Error %zd occurred while creating quota.\n", ret);