diff options
author | Jaegeuk Kim <jaegeuk@kernel.org> | 2015-08-16 13:04:50 -0700 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2015-08-20 09:00:14 -0700 |
commit | 24928634f81b1592e83b37dcd89ed45c28f12feb (patch) | |
tree | 41ae5bc8bbb6b21f79bed92a59b5bd8cec99242d /fs/gfs2/inode.c | |
parent | a21c20f0c812925085204fced932ac95f2a76bf0 (diff) | |
download | op-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/gfs2/inode.c')
0 files changed, 0 insertions, 0 deletions