quota.h (bf61c8840efe60fd8f91446860b63338fb424158) | quota.h (1ab6c4997e04a00c50c6d786c2f046adc0d1f5de) |
---|---|
1/* 2 * Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved. 3 * Copyright (C) 2004-2006 Red Hat, Inc. All rights reserved. 4 * 5 * This copyrighted material is made available to anyone wishing to use, 6 * modify, copy, or redistribute it subject to the terms and conditions 7 * of the GNU General Public License version 2. 8 */ --- 39 unchanged lines hidden (view full) --- 48 if (sdp->sd_args.ar_quota != GFS2_QUOTA_ON) 49 return 0; 50 ret = gfs2_quota_check(ip, ip->i_inode.i_uid, ip->i_inode.i_gid); 51 if (ret) 52 gfs2_quota_unlock(ip); 53 return ret; 54} 55 | 1/* 2 * Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved. 3 * Copyright (C) 2004-2006 Red Hat, Inc. All rights reserved. 4 * 5 * This copyrighted material is made available to anyone wishing to use, 6 * modify, copy, or redistribute it subject to the terms and conditions 7 * of the GNU General Public License version 2. 8 */ --- 39 unchanged lines hidden (view full) --- 48 if (sdp->sd_args.ar_quota != GFS2_QUOTA_ON) 49 return 0; 50 ret = gfs2_quota_check(ip, ip->i_inode.i_uid, ip->i_inode.i_gid); 51 if (ret) 52 gfs2_quota_unlock(ip); 53 return ret; 54} 55 |
56extern int gfs2_shrink_qd_memory(struct shrinker *shrink, 57 struct shrink_control *sc); | 56extern unsigned long gfs2_qd_shrink_count(struct shrinker *shrink, 57 struct shrink_control *sc); 58extern unsigned long gfs2_qd_shrink_scan(struct shrinker *shrink, 59 struct shrink_control *sc); |
58extern const struct quotactl_ops gfs2_quotactl_ops; 59 60#endif /* __QUOTA_DOT_H__ */ | 60extern const struct quotactl_ops gfs2_quotactl_ops; 61 62#endif /* __QUOTA_DOT_H__ */ |