patch-2.3.99-pre9 linux/fs/bfs/dir.c
Next file: linux/fs/binfmt_aout.c
Previous file: linux/fs/autofs4/root.c
Back to the patch index
Back to the overall index
- Lines: 20
- Date:
Sat May 20 10:55:26 2000
- Orig file:
v2.3.99-pre8/linux/fs/bfs/dir.c
- Orig date:
Fri Mar 10 16:40:46 2000
diff -u --recursive --new-file v2.3.99-pre8/linux/fs/bfs/dir.c linux/fs/bfs/dir.c
@@ -32,11 +32,6 @@
unsigned int offset;
int block;
- if (!dir || !dir->i_sb || !S_ISDIR(dir->i_mode)) {
- printf("Bad inode or not a directory %s:%08lx\n", bdevname(dev), dir->i_ino);
- return -EBADF;
- }
-
if (f->f_pos & (BFS_DIRENT_SIZE-1)) {
printf("Bad f_pos=%08lx for %s:%08lx\n", (unsigned long)f->f_pos,
bdevname(dev), dir->i_ino);
@@ -188,7 +183,6 @@
inode->i_nlink--;
inode->i_ctime = dir->i_ctime;
mark_inode_dirty(inode);
- d_delete(dentry);
error = 0;
out_brelse:
FUNET's LINUX-ADM group, [email protected]
TCL-scripts by Sam Shen (who was at: [email protected])