summaryrefslogtreecommitdiffstats
path: root/fs/ext2/ext2.h
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2014-09-25 16:36:14 +0200
committerJan Kara <jack@suse.cz>2014-11-10 10:06:09 +0100
commit2d0fa467915ed0c5957c992011b7f142a7dedf8e (patch)
tree49c4307171f15174f04d0b4f65d0030f2f4a41ad /fs/ext2/ext2.h
parent17ef4fdd379dc7bcbdf46b2630d33958244d0053 (diff)
downloadlinux-2d0fa467915ed0c5957c992011b7f142a7dedf8e.tar.bz2
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/ext2.h')
0 files changed, 0 insertions, 0 deletions