quota_global.c (d6b32bbb3eae3fb787f1c33bf9f767ca1ddeb208) | quota_global.c (13723d00e374c2a6d6ccb5af6de965e89c3e1b01) |
---|---|
1/* 2 * Implementation of operations over global quota file 3 */ 4#include <linux/spinlock.h> 5#include <linux/fs.h> 6#include <linux/quota.h> 7#include <linux/quotaops.h> 8#include <linux/dqblk_qtree.h> --- 230 unchanged lines hidden (view full) --- 239 lock_buffer(bh); 240 if (new) 241 memset(bh->b_data, 0, sb->s_blocksize); 242 memcpy(bh->b_data + offset, data, len); 243 flush_dcache_page(bh->b_page); 244 set_buffer_uptodate(bh); 245 unlock_buffer(bh); 246 ocfs2_set_buffer_uptodate(gqinode, bh); | 1/* 2 * Implementation of operations over global quota file 3 */ 4#include <linux/spinlock.h> 5#include <linux/fs.h> 6#include <linux/quota.h> 7#include <linux/quotaops.h> 8#include <linux/dqblk_qtree.h> --- 230 unchanged lines hidden (view full) --- 239 lock_buffer(bh); 240 if (new) 241 memset(bh->b_data, 0, sb->s_blocksize); 242 memcpy(bh->b_data + offset, data, len); 243 flush_dcache_page(bh->b_page); 244 set_buffer_uptodate(bh); 245 unlock_buffer(bh); 246 ocfs2_set_buffer_uptodate(gqinode, bh); |
247 err = ocfs2_journal_access(handle, gqinode, bh, ja_type); | 247 err = ocfs2_journal_access_dq(handle, gqinode, bh, ja_type); |
248 if (err < 0) { 249 brelse(bh); 250 goto out; 251 } 252 err = ocfs2_journal_dirty(handle, bh); 253 brelse(bh); 254 if (err < 0) 255 goto out; --- 770 unchanged lines hidden --- | 248 if (err < 0) { 249 brelse(bh); 250 goto out; 251 } 252 err = ocfs2_journal_dirty(handle, bh); 253 brelse(bh); 254 if (err < 0) 255 goto out; --- 770 unchanged lines hidden --- |