]> git.karo-electronics.de Git - linux-beck.git/commit
f2fs: use atomic for counting inode with inline_{dir,inode} flag
authorChao Yu <chao2.yu@samsung.com>
Mon, 8 Dec 2014 11:08:20 +0000 (19:08 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Mon, 8 Dec 2014 18:54:59 +0000 (10:54 -0800)
commit03e14d522eb1fdf9c0ce37085cb56749342a842c
tree38c93ae568af7ce3ec44812db861faa0d4393158
parent51455b19384d26afac4f214fab2ad0a4f1964e30
f2fs: use atomic for counting inode with inline_{dir,inode} flag

As inline_{dir,inode} stat is increased/decreased concurrently by multi threads,
so the value is not so accurate, let's use atomic type for counting accurately.

Signed-off-by: Chao Yu <chao2.yu@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/debug.c
fs/f2fs/f2fs.h