]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - fs/f2fs/f2fs.h
f2fs: use atomic type for node count in extent tree
authorChao Yu <chao2.yu@samsung.com>
Fri, 8 Jan 2016 12:22:52 +0000 (20:22 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Fri, 8 Jan 2016 19:57:11 +0000 (11:57 -0800)
commit68e353851002dc07555b067a0baff1cc2f709c04
tree702bfaa3ff203a120cb550550d41aef77c636952
parentda5af127a1a17bac121c6889c88cc90f8a278a84
f2fs: use atomic type for node count in extent tree

1. rename field in struct extent_tree from count to node_cnt for
   readability.
2. alter to use atomic type for node_cnt.

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