]> git.baikalelectronics.ru Git - kernel.git/commit
jfs: don't bother with make_bad_inode() in ialloc()
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 30 Jun 2018 18:32:04 +0000 (14:32 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 3 Aug 2018 20:03:33 +0000 (16:03 -0400)
commitf553ac694c8f50f0361174e5386a30500a8da23d
tree0c488599125b4b5d9ae0a64055d282b7ad62299e
parent350fda8fcc57cf895720d41e37b9668bbdf8c301
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>
fs/jfs/jfs_inode.c