summaryrefslogtreecommitdiffstats
path: root/fs/anon_inodes.c
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk@kernel.org>2015-08-16 13:04:50 -0700
committerJaegeuk Kim <jaegeuk@kernel.org>2015-08-20 09:00:14 -0700
commit24928634f81b1592e83b37dcd89ed45c28f12feb (patch)
tree41ae5bc8bbb6b21f79bed92a59b5bd8cec99242d /fs/anon_inodes.c
parenta21c20f0c812925085204fced932ac95f2a76bf0 (diff)
downloadop-kernel-dev-24928634f81b1592e83b37dcd89ed45c28f12feb.zip
op-kernel-dev-24928634f81b1592e83b37dcd89ed45c28f12feb.tar.gz
f2fs: check the node block address of newly allocated nid
This patch adds a routine which checks the block address of newly allocated nid. If an nid has already allocated by other thread due to subtle data races, it will result in filesystem corruption. So, it needs to check whether its block address was already allocated or not in prior to nid allocation as the last chance. Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/anon_inodes.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud