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

Configure Feed

Select the types of activity you want to include in your feed.

coda: is_bad_inode() is always false there

... since dbd822046445 ("[PATCH] Coda FS update") back in 2002

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

Al Viro 6fa6e4e2 7aaa8047

+1 -4
+1 -4
fs/coda/dir.c
··· 449 449 inode = d_inode(de); 450 450 if (!inode || is_root_inode(inode)) 451 451 goto out; 452 - if (is_bad_inode(inode)) 453 - goto bad; 454 452 455 453 cii = ITOC(d_inode(de)); 456 454 if (!(cii->c_flags & (C_PURGE | C_FLUSH))) ··· 468 470 spin_lock(&cii->c_lock); 469 471 cii->c_flags &= ~(C_VATTR | C_PURGE | C_FLUSH); 470 472 spin_unlock(&cii->c_lock); 471 - bad: 472 473 return 0; 473 474 out: 474 475 return 1; ··· 486 489 return 0; 487 490 488 491 inode = d_inode(dentry); 489 - if (!inode || is_bad_inode(inode)) 492 + if (!inode) 490 493 return 1; 491 494 492 495 cii = ITOC(inode);