Index: xfs/linux/xfs_dev.c =================================================================== RCS file: /afs/stacken.kth.se/src/SourceRepository/arla/xfs/linux/xfs_dev.c,v retrieving revision 1.77.2.1 diff -c -r1.77.2.1 xfs_dev.c *** xfs/linux/xfs_dev.c 2001/03/25 00:02:30 1.77.2.1 --- xfs/linux/xfs_dev.c 2001/07/23 22:53:50 *************** *** 404,409 **** --- 404,417 ---- return ret; } + inline static void setdumpable(struct task_struct *current){ + #if LINUX_VERSION_CODE >= 132103 + current->mm->dumpable = 1; + #else + current->dumpable = 1; + #endif + } + /* * Move messages from user space to kernel space, * wakeup sleepers, insert new data in VFS. *************** *** 422,428 **** XFSDEB(XDEBDEV, ("xfs_devwrite\n")); ! current->dumpable = 1; if (count > MAX_XMSG_SIZE) count = MAX_XMSG_SIZE; --- 430,436 ---- XFSDEB(XDEBDEV, ("xfs_devwrite\n")); ! setdumpable(current); if (count > MAX_XMSG_SIZE) count = MAX_XMSG_SIZE; Index: xfs/linux/xfs_inodeops.c =================================================================== RCS file: /afs/stacken.kth.se/src/SourceRepository/arla/xfs/linux/xfs_inodeops.c,v retrieving revision 1.149.2.1 diff -c -r1.149.2.1 xfs_inodeops.c *** xfs/linux/xfs_inodeops.c 2001/01/28 16:13:38 1.149.2.1 --- xfs/linux/xfs_inodeops.c 2001/07/24 09:23:15 *************** *** 47,53 **** xfs_lookup (struct inode *inode, struct dentry *dentry); static int ! xfs_fsync(struct file *file, struct dentry *dentry); static int do_fsync(struct xfs *xfsp, struct xfs_node *xn, u_int flag); --- 47,53 ---- xfs_lookup (struct inode *inode, struct dentry *dentry); static int ! xfs_fsync(struct file *file, struct dentry *dentry, int datasync); /* XXX haba unused datasync */ static int do_fsync(struct xfs *xfsp, struct xfs_node *xn, u_int flag); *************** *** 153,159 **** */ static int ! xfs_as_writepage(struct file *file, struct page *page) { printk ("XFS PANIC: xfs_as_writepage\n"); *(int *) NULL = 10; --- 153,159 ---- */ static int ! xfs_as_writepage(struct page *page) { printk ("XFS PANIC: xfs_as_writepage\n"); *(int *) NULL = 10; *************** *** 281,287 **** release: xfs_release_file, fsync: xfs_fsync, }; - #endif /* LINUX2_3 */ struct file_operations xfs_dead_operations = { --- 281,286 ---- *************** *** 603,609 **** */ static int ! xfs_fsync(struct file *file, struct dentry *dentry) { struct inode *inode = DENTRY_TO_INODE(dentry); struct xfs *xfsp = XFS_FROM_VNODE(inode); --- 602,608 ---- */ static int ! xfs_fsync(struct file *file, struct dentry *dentry, int datasync) /* XXX haba unused datasync */ { struct inode *inode = DENTRY_TO_INODE(dentry); struct xfs *xfsp = XFS_FROM_VNODE(inode);