]> Git Repo - linux.git/commit - fs/f2fs/namei.c
f2fs: avoid to use failed inode immediately
authorJaegeuk Kim <[email protected]>
Tue, 23 Jun 2015 17:36:08 +0000 (10:36 -0700)
committerJaegeuk Kim <[email protected]>
Tue, 4 Aug 2015 21:09:53 +0000 (14:09 -0700)
commitc9b63bd01dd8da096d079c490771ad8a049fd480
treeb6fda13486d2aec3011a7ceafa3755304eda6ec1
parenteca616f8c1d6c581f3785f0ee3e2a3887e084273
f2fs: avoid to use failed inode immediately

Before iput is called, the inode number used by a bad inode can be reassigned
to other new inode, resulting in any abnormal behaviors on the new inode.
This should not happen for the new inode.

Reviewed-by: Chao Yu <[email protected]>
Signed-off-by: Jaegeuk Kim <[email protected]>
fs/f2fs/f2fs.h
fs/f2fs/inode.c
fs/f2fs/namei.c
This page took 0.052615 seconds and 4 git commands to generate.