rpms/kernel/F-11 linux-2.6-btrfs-fix-page-mkwrite.patch,1.1,1.2

Josef Bacik josef at fedoraproject.org
Mon May 18 13:42:52 UTC 2009


Author: josef

Update of /cvs/pkgs/rpms/kernel/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv30946

Modified Files:
	linux-2.6-btrfs-fix-page-mkwrite.patch 
Log Message:
- uploaded the old version of the patch, here is the real one


linux-2.6-btrfs-fix-page-mkwrite.patch:

Index: linux-2.6-btrfs-fix-page-mkwrite.patch
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/F-11/linux-2.6-btrfs-fix-page-mkwrite.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- linux-2.6-btrfs-fix-page-mkwrite.patch	18 May 2009 13:37:46 -0000	1.1
+++ linux-2.6-btrfs-fix-page-mkwrite.patch	18 May 2009 13:42:21 -0000	1.2
@@ -12,3 +12,15 @@ diff -up linux-2.6.29.x86_64/fs/btrfs/in
  	struct inode *inode = fdentry(vma->vm_file)->d_inode;
  	struct btrfs_root *root = BTRFS_I(inode)->root;
  	struct extent_io_tree *io_tree = &BTRFS_I(inode)->io_tree;
+diff -up linux-2.6.29.x86_64/fs/btrfs/ctree.h.orig linux-2.6.29.x86_64/fs/btrfs/ctree.h
+--- linux-2.6.29.x86_64/fs/btrfs/ctree.h.orig	2009-05-18 09:40:20.715326888 -0400
++++ linux-2.6.29.x86_64/fs/btrfs/ctree.h	2009-05-18 09:40:30.182323090 -0400
+@@ -2135,7 +2135,7 @@ int btrfs_merge_bio_hook(struct page *pa
+ unsigned long btrfs_force_ra(struct address_space *mapping,
+ 			      struct file_ra_state *ra, struct file *file,
+ 			      pgoff_t offset, pgoff_t last_index);
+-int btrfs_page_mkwrite(struct vm_area_struct *vma, struct vm_fault *vmf);
++int btrfs_page_mkwrite(struct vm_area_struct *vma, struct page *page);
+ int btrfs_readpage(struct file *file, struct page *page);
+ void btrfs_delete_inode(struct inode *inode);
+ void btrfs_put_inode(struct inode *inode);




More information about the scm-commits mailing list