diff options
author | Nick Piggin <npiggin@suse.de> | 2009-03-11 21:17:36 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2009-03-27 19:44:05 +0100 |
commit | aabb8fdb41128705fd1627f56fdd571e45fdbcdb (patch) | |
tree | bae6e9abf167cf20b9a2d3e5c38520d3f17b777d /fs/namespace.c | |
parent | Merge code for single and multiple-instance mounts (diff) | |
download | linux-aabb8fdb41128705fd1627f56fdd571e45fdbcdb.tar.xz linux-aabb8fdb41128705fd1627f56fdd571e45fdbcdb.zip |
fs: avoid I_NEW inodes
To be on the safe side, it should be less fragile to exclude I_NEW inodes
from inode list scans by default (unless there is an important reason to
have them).
Normally they will get excluded (eg. by zero refcount or writecount etc),
however it is a bit fragile for list walkers to know exactly what parts of
the inode state is set up and valid to test when in I_NEW. So along these
lines, move I_NEW checks upward as well (sometimes taking I_FREEING etc
checks with them too -- this shouldn't be a problem should it?)
Signed-off-by: Nick Piggin <npiggin@suse.de>
Acked-by: Jan Kara <jack@suse.cz>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/namespace.c')
0 files changed, 0 insertions, 0 deletions