xfs: get quota inode from mp & flags rather than dqp
commit4d4d9523b4ebbd5d97c8b2557c6ee2a3f90b6b3a
authorEric Sandeen <sandeen@redhat.com>
Mon, 8 Feb 2016 00:23:23 +0000 (8 11:23 +1100)
committerDave Chinner <david@fromorbit.com>
Mon, 8 Feb 2016 00:23:23 +0000 (8 11:23 +1100)
tree97ed3923df9c7e80e59c5704a487c9949049c8de
parenta484bcdd1321b86de29a2969399da1fa6e9c7648
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