patch-2.1.107 linux/fs/ufs/ufs_inode.c

Next file: linux/include/asm-alpha/apecs.h
Previous file: linux/fs/ufs/Makefile
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.106/linux/fs/ufs/ufs_inode.c linux/fs/ufs/ufs_inode.c
@@ -249,6 +249,8 @@
 	        inode->i_op = &blkdev_inode_operations;
 	} else if (S_ISFIFO(inode->i_mode)) {
 	        init_fifo(inode);
+	} else if (S_ISSOCK(inode->i_mode)) {
+		/* nothing */
 	} else {
 	        printk("ufs_read_inode: unknown file type 0%o ino %lu dev %d/%d\n",
 	               inode->i_mode, inode->i_ino, MAJOR(inode->i_dev),

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov