patch-2.3.99-pre6 linux/fs/ufs/namei.c
Next file: linux/fs/umsdos/inode.c
Previous file: linux/fs/ufs/inode.c
Back to the patch index
Back to the overall index
- Lines: 24
- Date:
Mon Apr 24 18:56:33 2000
- Orig file:
v2.3.99-pre5/linux/fs/ufs/namei.c
- Orig date:
Sat Feb 26 22:31:54 2000
diff -u --recursive --new-file v2.3.99-pre5/linux/fs/ufs/namei.c linux/fs/ufs/namei.c
@@ -240,8 +240,6 @@
*err = -EINVAL;
*res_dir = NULL;
- if (!dir || !dir->i_nlink)
- return NULL;
sb = dir->i_sb;
flags = sb->u.ufs_sb.s_flags;
@@ -250,14 +248,6 @@
if (!namelen)
return NULL;
- /*
- * Is this a busy deleted directory? Can't create new files if so
- */
- if (dir->i_size == 0)
- {
- *err = -ENOENT;
- return NULL;
- }
bh = ufs_bread (dir, 0, 0, err);
if (!bh)
return NULL;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)