Release 4.12 include/linux/quotaops.h
/*
* Definitions for diskquota-operations. When diskquota is configured these
* macros expand to the right source-code.
*
* Author: Marco van Wieringen <mvw@planets.elm.net>
*/
#ifndef _LINUX_QUOTAOPS_
#define _LINUX_QUOTAOPS_
#include <linux/fs.h>
#define DQUOT_SPACE_WARN 0x1
#define DQUOT_SPACE_RESERVE 0x2
#define DQUOT_SPACE_NOFAIL 0x4
static inline struct quota_info *sb_dqopt(struct super_block *sb)
{
return &sb->s_dquot;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Jan Kara | 20 | 100.00% | 2 | 100.00% |
Total | 20 | 100.00% | 2 | 100.00% |
/* i_mutex must being held */
static inline bool is_quota_modification(struct inode *inode, struct iattr *ia)
{
return (ia->ia_valid & ATTR_SIZE && ia->ia_size != inode->i_size) ||
(ia->ia_valid & ATTR_UID && !uid_eq(ia->ia_uid, inode->i_uid)) ||
(ia->ia_valid & ATTR_GID && !gid_eq(ia->ia_gid, inode->i_gid));
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Dmitriy Monakhov | 64 | 86.49% | 1 | 50.00% |
Eric W. Biedermann | 10 | 13.51% | 1 | 50.00% |
Total | 74 | 100.00% | 2 | 100.00% |
#if defined(CONFIG_QUOTA)
#define quota_error(sb, fmt, args...) \
__quota_error((sb), __func__, fmt , ## args)
extern __printf(3, 4)
void __quota_error(struct super_block *sb, const char *func,
const char *fmt, ...);
/*
* declaration of quota_function calls in kernel.
*/
void inode_add_rsv_space(struct inode *inode, qsize_t number);
void inode_claim_rsv_space(struct inode *inode, qsize_t number);
void inode_sub_rsv_space(struct inode *inode, qsize_t number);
void inode_reclaim_rsv_space(struct inode *inode, qsize_t number);
int dquot_initialize(struct inode *inode);
bool dquot_initialize_needed(struct inode *inode);
void dquot_drop(struct inode *inode);
struct dquot *dqget(struct super_block *sb, struct kqid qid);
static inline struct dquot *dqgrab(struct dquot *dquot)
{
/* Make sure someone else has active reference to dquot */
WARN_ON_ONCE(!atomic_read(&dquot->dq_count));
WARN_ON_ONCE(!test_bit(DQ_ACTIVE_B, &dquot->dq_flags));
atomic_inc(&dquot->dq_count);
return dquot;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Jan Kara | 52 | 100.00% | 1 | 100.00% |
Total | 52 | 100.00% | 1 | 100.00% |
void dqput(struct dquot *dquot);
int dquot_scan_active(struct super_block *sb,
int (*fn)(struct dquot *dquot, unsigned long priv),
unsigned long priv);
struct dquot *dquot_alloc(struct super_block *sb, int type);
void dquot_destroy(struct dquot *dquot);
int __dquot_alloc_space(struct inode *inode, qsize_t number, int flags);
void __dquot_free_space(struct inode *inode, qsize_t number, int flags);
int dquot_alloc_inode(struct inode *inode);
int dquot_claim_space_nodirty(struct inode *inode, qsize_t number);
void dquot_free_inode(struct inode *inode);
void dquot_reclaim_space_nodirty(struct inode *inode, qsize_t number);
int dquot_disable(struct super_block *sb, int type, unsigned int flags);
/* Suspend quotas on remount RO */
static inline int dquot_suspend(struct super_block *sb, int type)
{
return dquot_disable(sb, type, DQUOT_SUSPENDED);
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Christoph Hellwig | 25 | 100.00% | 1 | 100.00% |
Total | 25 | 100.00% | 1 | 100.00% |
int dquot_resume(struct super_block *sb, int type);
int dquot_commit(struct dquot *dquot);
int dquot_acquire(struct dquot *dquot);
int dquot_release(struct dquot *dquot);
int dquot_commit_info(struct super_block *sb, int type);
int dquot_get_next_id(struct super_block *sb, struct kqid *qid);
int dquot_mark_dquot_dirty(struct dquot *dquot);
int dquot_file_open(struct inode *inode, struct file *file);
int dquot_enable(struct inode *inode, int type, int format_id,
unsigned int flags);
int dquot_quota_on(struct super_block *sb, int type, int format_id,
const struct path *path);
int dquot_quota_on_mount(struct super_block *sb, char *qf_name,
int format_id, int type);
int dquot_quota_off(struct super_block *sb, int type);
int dquot_writeback_dquots(struct super_block *sb, int type);
int dquot_quota_sync(struct super_block *sb, int type);
int dquot_get_state(struct super_block *sb, struct qc_state *state);
int dquot_set_dqinfo(struct super_block *sb, int type, struct qc_info *ii);
int dquot_get_dqblk(struct super_block *sb, struct kqid id,
struct qc_dqblk *di);
int dquot_get_next_dqblk(struct super_block *sb, struct kqid *id,
struct qc_dqblk *di);
int dquot_set_dqblk(struct super_block *sb, struct kqid id,
struct qc_dqblk *di);
int __dquot_transfer(struct inode *inode, struct dquot **transfer_to);
int dquot_transfer(struct inode *inode, struct iattr *iattr);
static inline struct mem_dqinfo *sb_dqinfo(struct super_block *sb, int type)
{
return sb_dqopt(sb)->info + type;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Jan Kara | 27 | 100.00% | 2 | 100.00% |
Total | 27 | 100.00% | 2 | 100.00% |
/*
* Functions for checking status of quota
*/
static inline bool sb_has_quota_usage_enabled(struct super_block *sb, int type)
{
return sb_dqopt(sb)->flags &
dquot_state_flag(DQUOT_USAGE_ENABLED, type);
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Jan Kara | 29 | 96.67% | 4 | 80.00% |
Dmitriy Monakhov | 1 | 3.33% | 1 | 20.00% |
Total | 30 | 100.00% | 5 | 100.00% |
static inline bool sb_has_quota_limits_enabled(struct super_block *sb, int type)
{
return sb_dqopt(sb)->flags &
dquot_state_flag(DQUOT_LIMITS_ENABLED, type);
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Jan Kara | 29 | 96.67% | 2 | 66.67% |
Dmitriy Monakhov | 1 | 3.33% | 1 | 33.33% |
Total | 30 | 100.00% | 3 | 100.00% |
static inline bool sb_has_quota_suspended(struct super_block *sb, int type)
{
return sb_dqopt(sb)->flags &
dquot_state_flag(DQUOT_SUSPENDED, type);
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Jan Kara | 29 | 96.67% | 3 | 75.00% |
Dmitriy Monakhov | 1 | 3.33% | 1 | 25.00% |
Total | 30 | 100.00% | 4 | 100.00% |
static inline unsigned sb_any_quota_suspended(struct super_block *sb)
{
return dquot_state_types(sb_dqopt(sb)->flags, DQUOT_SUSPENDED);
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Jan Kara | 16 | 64.00% | 3 | 60.00% |
Konstantin Khlebnikov | 8 | 32.00% | 1 | 20.00% |
Dmitriy Monakhov | 1 | 4.00% | 1 | 20.00% |
Total | 25 | 100.00% | 5 | 100.00% |
/* Does kernel know about any quota information for given sb + type? */
static inline bool sb_has_quota_loaded(struct super_block *sb, int type)
{
/* Currently if anything is on, then quota usage is on as well */
return sb_has_quota_usage_enabled(sb, type);
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Jan Kara | 23 | 95.83% | 3 | 75.00% |
Dmitriy Monakhov | 1 | 4.17% | 1 | 25.00% |
Total | 24 | 100.00% | 4 | 100.00% |
static inline unsigned sb_any_quota_loaded(struct super_block *sb)
{
return dquot_state_types(sb_dqopt(sb)->flags, DQUOT_USAGE_ENABLED);
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Jan Kara | 16 | 64.00% | 2 | 50.00% |
Konstantin Khlebnikov | 8 | 32.00% | 1 | 25.00% |
Dmitriy Monakhov | 1 | 4.00% | 1 | 25.00% |
Total | 25 | 100.00% | 4 | 100.00% |
static inline bool sb_has_quota_active(struct super_block *sb, int type)
{
return sb_has_quota_loaded(sb, type) &&
!sb_has_quota_suspended(sb, type);
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Jan Kara | 30 | 96.77% | 3 | 75.00% |
Dmitriy Monakhov | 1 | 3.23% | 1 | 25.00% |
Total | 31 | 100.00% | 4 | 100.00% |
/*
* Operations supported for diskquotas.
*/
extern const struct dquot_operations dquot_operations;
extern const struct quotactl_ops dquot_quotactl_sysfile_ops;
#else
static inline int sb_has_quota_usage_enabled(struct super_block *sb, int type)
{
return 0;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Christoph Hellwig | 6 | 33.33% | 1 | 16.67% |
Linus Torvalds | 6 | 33.33% | 2 | 33.33% |
Linus Torvalds (pre-git) | 5 | 27.78% | 2 | 33.33% |
Jan Kara | 1 | 5.56% | 1 | 16.67% |
Total | 18 | 100.00% | 6 | 100.00% |
static inline int sb_has_quota_limits_enabled(struct super_block *sb, int type)
{
return 0;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Mingming Cao | 13 | 72.22% | 1 | 50.00% |
Christoph Hellwig | 5 | 27.78% | 1 | 50.00% |
Total | 18 | 100.00% | 2 | 100.00% |
static inline int sb_has_quota_suspended(struct super_block *sb, int type)
{
return 0;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Jan Kara | 7 | 38.89% | 3 | 50.00% |
Christoph Hellwig | 6 | 33.33% | 1 | 16.67% |
Linus Torvalds | 3 | 16.67% | 1 | 16.67% |
Linus Torvalds (pre-git) | 2 | 11.11% | 1 | 16.67% |
Total | 18 | 100.00% | 6 | 100.00% |
static inline int sb_any_quota_suspended(struct super_block *sb)
{
return 0;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Jan Kara | 15 | 100.00% | 2 | 100.00% |
Total | 15 | 100.00% | 2 | 100.00% |
/* Does kernel know about any quota information for given sb + type? */
static inline int sb_has_quota_loaded(struct super_block *sb, int type)
{
return 0;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Jan Kara | 18 | 100.00% | 1 | 100.00% |
Total | 18 | 100.00% | 1 | 100.00% |
static inline int sb_any_quota_loaded(struct super_block *sb)
{
return 0;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Jan Kara | 15 | 100.00% | 1 | 100.00% |
Total | 15 | 100.00% | 1 | 100.00% |
static inline int sb_has_quota_active(struct super_block *sb, int type)
{
return 0;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Jan Kara | 18 | 100.00% | 1 | 100.00% |
Total | 18 | 100.00% | 1 | 100.00% |
static inline int dquot_initialize(struct inode *inode)
{
return 0;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Jan Kara | 13 | 86.67% | 3 | 60.00% |
Linus Torvalds (pre-git) | 1 | 6.67% | 1 | 20.00% |
Christoph Hellwig | 1 | 6.67% | 1 | 20.00% |
Total | 15 | 100.00% | 5 | 100.00% |
static inline bool dquot_initialize_needed(struct inode *inode)
{
return false;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Tahsin Erdogan | 15 | 100.00% | 1 | 100.00% |
Total | 15 | 100.00% | 1 | 100.00% |
static inline void dquot_drop(struct inode *inode)
{
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Andrew Morton | 7 | 63.64% | 1 | 33.33% |
Linus Torvalds (pre-git) | 3 | 27.27% | 1 | 33.33% |
Christoph Hellwig | 1 | 9.09% | 1 | 33.33% |
Total | 11 | 100.00% | 3 | 100.00% |
static inline int dquot_alloc_inode(struct inode *inode)
{
return 0;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Andrew Morton | 11 | 73.33% | 1 | 33.33% |
Linus Torvalds (pre-git) | 3 | 20.00% | 1 | 33.33% |
Christoph Hellwig | 1 | 6.67% | 1 | 33.33% |
Total | 15 | 100.00% | 3 | 100.00% |
static inline void dquot_free_inode(struct inode *inode)
{
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Andrew Morton | 7 | 63.64% | 1 | 33.33% |
Linus Torvalds (pre-git) | 3 | 27.27% | 1 | 33.33% |
Christoph Hellwig | 1 | 9.09% | 1 | 33.33% |
Total | 11 | 100.00% | 3 | 100.00% |
static inline int dquot_transfer(struct inode *inode, struct iattr *iattr)
{
return 0;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Andrew Morton | 14 | 70.00% | 1 | 25.00% |
Linus Torvalds (pre-git) | 4 | 20.00% | 1 | 25.00% |
Christoph Hellwig | 1 | 5.00% | 1 | 25.00% |
Linus Torvalds | 1 | 5.00% | 1 | 25.00% |
Total | 20 | 100.00% | 4 | 100.00% |
static inline int __dquot_alloc_space(struct inode *inode, qsize_t number,
int flags)
{
if (!(flags & DQUOT_SPACE_RESERVE))
inode_add_bytes(inode, number);
return 0;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Linus Torvalds | 15 | 40.54% | 1 | 16.67% |
Christoph Hellwig | 9 | 24.32% | 1 | 16.67% |
Eric Sandeen | 6 | 16.22% | 1 | 16.67% |
Jan Kara | 5 | 13.51% | 2 | 33.33% |
Adrian Bunk | 2 | 5.41% | 1 | 16.67% |
Total | 37 | 100.00% | 6 | 100.00% |
static inline void __dquot_free_space(struct inode *inode, qsize_t number,
int flags)
{
if (!(flags & DQUOT_SPACE_RESERVE))
inode_sub_bytes(inode, number);
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Linus Torvalds | 14 | 41.18% | 1 | 20.00% |
Christoph Hellwig | 11 | 32.35% | 1 | 20.00% |
Eric Sandeen | 6 | 17.65% | 1 | 20.00% |
Adrian Bunk | 2 | 5.88% | 1 | 20.00% |
Jan Kara | 1 | 2.94% | 1 | 20.00% |
Total | 34 | 100.00% | 5 | 100.00% |
static inline int dquot_claim_space_nodirty(struct inode *inode, qsize_t number)
{
inode_add_bytes(inode, number);
return 0;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Linus Torvalds | 15 | 60.00% | 1 | 20.00% |
Jan Kara | 5 | 20.00% | 2 | 40.00% |
Christoph Hellwig | 3 | 12.00% | 1 | 20.00% |
Adrian Bunk | 2 | 8.00% | 1 | 20.00% |
Total | 25 | 100.00% | 5 | 100.00% |
static inline int dquot_reclaim_space_nodirty(struct inode *inode,
qsize_t number)
{
inode_sub_bytes(inode, number);
return 0;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Jan Kara | 25 | 100.00% | 1 | 100.00% |
Total | 25 | 100.00% | 1 | 100.00% |
static inline int dquot_disable(struct super_block *sb, int type,
unsigned int flags)
{
return 0;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Christoph Hellwig | 22 | 100.00% | 1 | 100.00% |
Total | 22 | 100.00% | 1 | 100.00% |
static inline int dquot_suspend(struct super_block *sb, int type)
{
return 0;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Christoph Hellwig | 18 | 100.00% | 1 | 100.00% |
Total | 18 | 100.00% | 1 | 100.00% |
static inline int dquot_resume(struct super_block *sb, int type)
{
return 0;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Christoph Hellwig | 18 | 100.00% | 1 | 100.00% |
Total | 18 | 100.00% | 1 | 100.00% |
#define dquot_file_open generic_file_open
static inline int dquot_writeback_dquots(struct super_block *sb, int type)
{
return 0;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Jan Kara | 18 | 100.00% | 1 | 100.00% |
Total | 18 | 100.00% | 1 | 100.00% |
#endif /* CONFIG_QUOTA */
static inline int dquot_alloc_space_nodirty(struct inode *inode, qsize_t nr)
{
return __dquot_alloc_space(inode, nr, DQUOT_SPACE_WARN);
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Linus Torvalds | 16 | 64.00% | 1 | 20.00% |
Christoph Hellwig | 5 | 20.00% | 1 | 20.00% |
Adrian Bunk | 2 | 8.00% | 1 | 20.00% |
Eric Sandeen | 1 | 4.00% | 1 | 20.00% |
Jan Kara | 1 | 4.00% | 1 | 20.00% |
Total | 25 | 100.00% | 5 | 100.00% |
static inline void dquot_alloc_space_nofail(struct inode *inode, qsize_t nr)
{
__dquot_alloc_space(inode, nr, DQUOT_SPACE_WARN|DQUOT_SPACE_NOFAIL);
mark_inode_dirty_sync(inode);
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Eric Sandeen | 30 | 96.77% | 1 | 50.00% |
Jan Kara | 1 | 3.23% | 1 | 50.00% |
Total | 31 | 100.00% | 2 | 100.00% |
static inline int dquot_alloc_space(struct inode *inode, qsize_t nr)
{
int ret;
ret = dquot_alloc_space_nodirty(inode, nr);
if (!ret) {
/*
* Mark inode fully dirty. Since we are allocating blocks, inode
* would become fully dirty soon anyway and it reportedly
* reduces lock contention.
*/
mark_inode_dirty(inode);
}
return ret;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Mingming Cao | 23 | 53.49% | 2 | 40.00% |
Christoph Hellwig | 16 | 37.21% | 1 | 20.00% |
David Shaohua Li | 3 | 6.98% | 1 | 20.00% |
Dave Chinner | 1 | 2.33% | 1 | 20.00% |
Total | 43 | 100.00% | 5 | 100.00% |
static inline int dquot_alloc_block_nodirty(struct inode *inode, qsize_t nr)
{
return dquot_alloc_space_nodirty(inode, nr << inode->i_blkbits);
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Linus Torvalds | 12 | 44.44% | 1 | 20.00% |
Christoph Hellwig | 9 | 33.33% | 1 | 20.00% |
Jan Kara | 4 | 14.81% | 2 | 40.00% |
Adrian Bunk | 2 | 7.41% | 1 | 20.00% |
Total | 27 | 100.00% | 5 | 100.00% |
static inline void dquot_alloc_block_nofail(struct inode *inode, qsize_t nr)
{
dquot_alloc_space_nofail(inode, nr << inode->i_blkbits);
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Eric Sandeen | 26 | 100.00% | 1 | 100.00% |
Total | 26 | 100.00% | 1 | 100.00% |
static inline int dquot_alloc_block(struct inode *inode, qsize_t nr)
{
return dquot_alloc_space(inode, nr << inode->i_blkbits);
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Linus Torvalds | 16 | 59.26% | 1 | 25.00% |
Christoph Hellwig | 8 | 29.63% | 1 | 25.00% |
Adrian Bunk | 2 | 7.41% | 1 | 25.00% |
Jan Kara | 1 | 3.70% | 1 | 25.00% |
Total | 27 | 100.00% | 4 | 100.00% |
static inline int dquot_prealloc_block_nodirty(struct inode *inode, qsize_t nr)
{
return __dquot_alloc_space(inode, nr << inode->i_blkbits, 0);
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Jan Kara | 24 | 82.76% | 2 | 50.00% |
Christoph Hellwig | 4 | 13.79% | 1 | 25.00% |
Mingming Cao | 1 | 3.45% | 1 | 25.00% |
Total | 29 | 100.00% | 4 | 100.00% |
static inline int dquot_prealloc_block(struct inode *inode, qsize_t nr)
{
int ret;
ret = dquot_prealloc_block_nodirty(inode, nr);
if (!ret)
mark_inode_dirty_sync(inode);
return ret;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Jan Kara | 22 | 55.00% | 3 | 75.00% |
Christoph Hellwig | 18 | 45.00% | 1 | 25.00% |
Total | 40 | 100.00% | 4 | 100.00% |
static inline int dquot_reserve_block(struct inode *inode, qsize_t nr)
{
return __dquot_alloc_space(inode, nr << inode->i_blkbits,
DQUOT_SPACE_WARN|DQUOT_SPACE_RESERVE);
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Jan Kara | 24 | 77.42% | 2 | 40.00% |
Eric Sandeen | 3 | 9.68% | 1 | 20.00% |
Christoph Hellwig | 3 | 9.68% | 1 | 20.00% |
Mingming Cao | 1 | 3.23% | 1 | 20.00% |
Total | 31 | 100.00% | 5 | 100.00% |
static inline int dquot_claim_block(struct inode *inode, qsize_t nr)
{
int ret;
ret = dquot_claim_space_nodirty(inode, nr << inode->i_blkbits);
if (!ret)
mark_inode_dirty_sync(inode);
return ret;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Jan Kara | 24 | 54.55% | 3 | 60.00% |
Christoph Hellwig | 19 | 43.18% | 1 | 20.00% |
Mingming Cao | 1 | 2.27% | 1 | 20.00% |
Total | 44 | 100.00% | 5 | 100.00% |
static inline void dquot_reclaim_block(struct inode *inode, qsize_t nr)
{
dquot_reclaim_space_nodirty(inode, nr << inode->i_blkbits);
mark_inode_dirty_sync(inode);
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Jan Kara | 31 | 100.00% | 1 | 100.00% |
Total | 31 | 100.00% | 1 | 100.00% |
static inline void dquot_free_space_nodirty(struct inode *inode, qsize_t nr)
{
__dquot_free_space(inode, nr, 0);
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Mingming Cao | 18 | 75.00% | 1 | 50.00% |
Christoph Hellwig | 6 | 25.00% | 1 | 50.00% |
Total | 24 | 100.00% | 2 | 100.00% |
static inline void dquot_free_space(struct inode *inode, qsize_t nr)
{
dquot_free_space_nodirty(inode, nr);
mark_inode_dirty_sync(inode);
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Mingming Cao | 19 | 70.37% | 1 | 33.33% |
Christoph Hellwig | 7 | 25.93% | 1 | 33.33% |
Jan Kara | 1 | 3.70% | 1 | 33.33% |
Total | 27 | 100.00% | 3 | 100.00% |
static inline void dquot_free_block_nodirty(struct inode *inode, qsize_t nr)
{
dquot_free_space_nodirty(inode, nr << inode->i_blkbits);
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Mingming Cao | 24 | 92.31% | 1 | 50.00% |
Christoph Hellwig | 2 | 7.69% | 1 | 50.00% |
Total | 26 | 100.00% | 2 | 100.00% |
static inline void dquot_free_block(struct inode *inode, qsize_t nr)
{
dquot_free_space(inode, nr << inode->i_blkbits);
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Jan Kara | 23 | 88.46% | 2 | 50.00% |
Christoph Hellwig | 2 | 7.69% | 1 | 25.00% |
Mingming Cao | 1 | 3.85% | 1 | 25.00% |
Total | 26 | 100.00% | 4 | 100.00% |
static inline void dquot_release_reservation_block(struct inode *inode,
qsize_t nr)
{
__dquot_free_space(inode, nr << inode->i_blkbits, DQUOT_SPACE_RESERVE);
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Jan Kara | 23 | 82.14% | 2 | 40.00% |
Christoph Hellwig | 3 | 10.71% | 1 | 20.00% |
Mingming Cao | 1 | 3.57% | 1 | 20.00% |
Eric Sandeen | 1 | 3.57% | 1 | 20.00% |
Total | 28 | 100.00% | 5 | 100.00% |
unsigned int qtype_enforce_flag(int type);
#endif /* _LINUX_QUOTAOPS_ */
Overall Contributors
Person | Tokens | Prop | Commits | CommitProp |
Jan Kara | 826 | 42.93% | 27 | 39.13% |
Christoph Hellwig | 309 | 16.06% | 10 | 14.49% |
Andrew Morton | 159 | 8.26% | 2 | 2.90% |
Mingming Cao | 123 | 6.39% | 3 | 4.35% |
Dmitriy Monakhov | 107 | 5.56% | 3 | 4.35% |
Linus Torvalds | 100 | 5.20% | 3 | 4.35% |
Eric Sandeen | 87 | 4.52% | 2 | 2.90% |
Linus Torvalds (pre-git) | 78 | 4.05% | 2 | 2.90% |
Jiaying Zhang | 34 | 1.77% | 1 | 1.45% |
Tahsin Erdogan | 24 | 1.25% | 1 | 1.45% |
Al Viro | 20 | 1.04% | 2 | 2.90% |
Eric W. Biedermann | 17 | 0.88% | 3 | 4.35% |
Konstantin Khlebnikov | 16 | 0.83% | 1 | 1.45% |
Adrian Bunk | 13 | 0.68% | 2 | 2.90% |
Joe Perches | 4 | 0.21% | 2 | 2.90% |
David Shaohua Li | 3 | 0.16% | 1 | 1.45% |
Alexey Dobriyan | 2 | 0.10% | 2 | 2.90% |
Dave Chinner | 1 | 0.05% | 1 | 1.45% |
Dave Jones | 1 | 0.05% | 1 | 1.45% |
Total | 1924 | 100.00% | 69 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.