]> 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)
commit133d7fb9daf80447149d480428db46822b860f4b
tree97ed3923df9c7e80e59c5704a487c9949049c8de
parent52e385c09eb70eb619f9216705402f907c761707
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