Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

jfs: don't bother with make_bad_inode() in ialloc()

We hit that when inumber allocation has failed. In that case
the in-core inode is not hashed and since its ->i_nlink is 1
the only place where jfs checks is_bad_inode() won't be reached.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>

Al Viro c7b15a86 d8e78da8

-2
-2
fs/jfs/jfs_inode.c
··· 69 69 rc = diAlloc(parent, S_ISDIR(mode), inode); 70 70 if (rc) { 71 71 jfs_warn("ialloc: diAlloc returned %d!", rc); 72 - if (rc == -EIO) 73 - make_bad_inode(inode); 74 72 goto fail_put; 75 73 } 76 74