patch-2.3.22 linux/fs/smbfs/inode.c

Next file: linux/fs/super.c
Previous file: linux/fs/smbfs/cache.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.21/linux/fs/smbfs/inode.c linux/fs/smbfs/inode.c
@@ -75,6 +75,8 @@
 	pr_debug("smb_iget: %p\n", fattr);
 
 	result = get_empty_inode();
+	if (!result)
+		return result;
 	result->i_sb = sb;
 	result->i_dev = sb->s_dev;
 	result->i_ino = fattr->f_ino;

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