patch-2.4.10 linux/fs/affs/inode.c

Next file: linux/fs/affs/namei.c
Previous file: linux/fs/affs/file.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.9/linux/fs/affs/inode.c linux/fs/affs/inode.c
@@ -300,7 +300,7 @@
 	u32			 block;
 	struct buffer_head	*bh;
 
-	if (!dir || !(inode = get_empty_inode()))
+	if (!(inode = get_empty_inode()))
 		goto err_inode;
 
 	if (!(block = affs_alloc_block(dir, dir->i_ino)))

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)