f2fs: avoid wrong count on dirty inodes
authorJaegeuk Kim <jaegeuk@kernel.org>
Thu, 2 Jun 2016 18:08:56 +0000 (11:08 -0700)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 7 Jun 2016 16:45:38 +0000 (09:45 -0700)
commit338bbfa086c34ed4ec33bd3c4c4a2ec89336a567
tree06f797c28a93974c6f0b5aa326c2484106965268
parent9f7c45ccd6d434e2778dd71fb825a7918979fc17
f2fs: avoid wrong count on dirty inodes

The number should be covered by spin_lock. Otherwise we can see wrong count
in f2fs_stat.

Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/super.c