George Wang 74f9ce1cf2 xfs: use percpu_counter_read_positive for mp->m_icount
Function percpu_counter_read just return the current counter, which can be
negative. This will cause the checking of "allocated inode
counts <= m_maxicount" false positive. Use percpu_counter_read_positive can
solve this problem, and be consistent with the purpose to introduce percpu
mechanism to xfs.

Signed-off-by: George Wang <xuw2015@gmail.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
2015-05-29 07:39:34 +10:00
..
2015-04-21 16:16:02 -04:00
2015-04-26 17:33:59 -07:00
2015-03-18 10:29:48 +01:00
2015-04-11 22:29:40 -04:00
2014-11-19 13:01:20 -05:00
2015-04-11 22:29:39 -04:00
2015-04-17 09:04:07 -04:00
2015-04-17 09:04:12 -04:00
2015-04-24 07:08:41 -07:00
2014-08-26 09:35:56 +02:00
2014-11-19 13:01:26 -05:00