Displaying 3 results from an estimated 3 matches for "ocfs2_get_quota_block".
2009 Apr 08
0
[patch] unlock i_mutex in error path
...p://repo.or.cz/w/smatch.git). Compile tested.
regards,
dan carpenter
Signed-off-by: Dan Carpenter <error27 at gmail.com>
--- orig/fs/ocfs2/quota_global.c 2009-04-07 19:34:22.000000000 +0300
+++ devel/fs/ocfs2/quota_global.c 2009-04-07 19:34:25.000000000 +0300
@@ -232,10 +232,8 @@
err = ocfs2_get_quota_block(gqinode, blk, &bh);
ja_type = OCFS2_JOURNAL_ACCESS_CREATE;
}
- if (err) {
- mlog_errno(err);
- return err;
- }
+ if (err)
+ goto out;
lock_buffer(bh);
if (new)
memset(bh->b_data, 0, sb->s_blocksize);
2009 Jun 28
1
[PATCH 59/62] fs/ocfs2/quota_global.c: Remove unnecessary semicolons
...lt;joe at perches.com>
---
fs/ocfs2/quota_global.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/fs/ocfs2/quota_global.c b/fs/ocfs2/quota_global.c
index edfa60c..05ed815 100644
--- a/fs/ocfs2/quota_global.c
+++ b/fs/ocfs2/quota_global.c
@@ -143,7 +143,7 @@ static int ocfs2_get_quota_block(struct inode *inode, int block,
err = -EIO;
mlog_errno(err);
}
- return err;;
+ return err;
}
/* Read data from global quotafile - avoid pagecache and such because we cannot
--
1.6.3.1.10.g659a0.dirty
2008 Dec 22
56
[git patches] Ocfs2 patches for merge window, batch 2/3
...or allocation and freeing of inodes and space
ocfs2: Implement quota syncing thread
ocfs2: Implement quota recovery
ocfs2: Enable quota accounting on mount, disable on umount
ocfs2: Add missing initialization
ocfs2: Fix oops when extending quota files
ocfs2: Make ocfs2_get_quota_block() consistent with ocfs2_read_quota_block()
ocfs2: Fix build warnings (64-bit types vs long long)
quota: Unexport dqblk_v1.h and dqblk_v2.h
quota: Export dquot_alloc() and dquot_destroy() functions
reiserfs: Add default allocation routines for quota structures
ext3: Add...