diff options
author | Jan Kara <jack@suse.cz> | 2014-09-25 16:36:14 +0200 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2014-11-10 10:06:09 +0100 |
commit | 2d0fa467915ed0c5957c992011b7f142a7dedf8e (patch) | |
tree | 49c4307171f15174f04d0b4f65d0030f2f4a41ad /fs/ext2 | |
parent | 17ef4fdd379dc7bcbdf46b2630d33958244d0053 (diff) |
quota: Use function to provide i_dquot pointers
i_dquot array is used by relatively few filesystems (ext?, ocfs2, jfs,
reiserfs) so it is beneficial to move this array to fs-private part of
the inode. We cannot just pass quota pointers from filesystems to quota
functions because during quotaon and quotaoff we have to traverse list
of all inodes and manipulate i_dquot pointers for each inode. So we
provide a function which generic quota code can use to get pointer to
the i_dquot array from the filesystem.
Acked-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/ext2')
0 files changed, 0 insertions, 0 deletions