patch-2.4.5 linux/mm/shmem.c
Next file: linux/mm/slab.c
Previous file: linux/mm/page_alloc.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Tue May 22 09:31:25 2001
- Orig file:
v2.4.4/linux/mm/shmem.c
- Orig date:
Wed Apr 25 14:46:21 2001
diff -u --recursive --new-file v2.4.4/linux/mm/shmem.c linux/mm/shmem.c
@@ -516,7 +516,7 @@
inode->i_gid = current->fsgid;
inode->i_blksize = PAGE_CACHE_SIZE;
inode->i_blocks = 0;
- inode->i_rdev = to_kdev_t(dev);
+ inode->i_rdev = NODEV;
inode->i_mapping->a_ops = &shmem_aops;
inode->i_atime = inode->i_mtime = inode->i_ctime = CURRENT_TIME;
spin_lock_init (&inode->u.shmem_i.lock);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)