]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: get quota inode from mp & flags rather than dqp
authorEric Sandeen <sandeen@redhat.com>
Mon, 8 Feb 2016 00:23:23 +0000 (11:23 +1100)
committerDave Chinner <david@fromorbit.com>
Mon, 8 Feb 2016 00:23:23 +0000 (11:23 +1100)
commita7976e3b8b05aaa7164120dc887b0ebe23bf9812
tree97ed3923df9c7e80e59c5704a487c9949049c8de
parent104441654bbc9d7e58bfc3936445f641fc7f8229
xfs: get quota inode from mp & flags rather than dqp

Allow us to get the appropriate quota inode from any
mp & quota flags, not necessarily associated with a
particular dqp.  Needed for when we are searching for
the next active ID with quotas and we want to examine
the quota inode.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/xfs/xfs_dquot.c
fs/xfs/xfs_qm.h