Files
android_kernel_xiaomi_sm8450/fs/xfs/libxfs
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
..
2014-06-25 14:57:36 +10:00
2014-06-25 14:57:36 +10:00
2014-06-25 14:57:36 +10:00
2014-06-25 14:57:36 +10:00
2014-06-25 14:57:36 +10:00
2014-07-30 09:12:05 +10:00
2014-06-25 14:57:36 +10:00
2014-06-25 14:57:36 +10:00
2015-02-23 21:24:37 +11:00
2015-01-09 10:45:13 +11:00
2014-06-25 14:57:36 +10:00
2014-06-25 14:57:36 +10:00
2014-06-25 14:57:36 +10:00
2014-06-25 14:57:36 +10:00
2014-06-25 14:57:36 +10:00
2015-01-09 10:46:31 +11:00