Skip to contentSkip to conversation

Cluster Project branch, master, updated. cluster-2.99.00-40-g6324917

Cluster-devel [email protected] 1 participant 1 message May 13, 2008

lore
Share & tools
lore
#0 lore raw

This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Cluster Project".

http://sources.redhat.com/git/gitweb.cgi?p=cluster.git;a=commitdiff;h=63249176ce78b00bd3484d23b28c578270d7fb2b

The branch, master has been updated

       via  63249176ce78b00bd3484d23b28c578270d7fb2b (commit)
       via  8259c6fe39766e87e4112f8260cc68f3fe3ca93c (commit)
       via  08b0d3298b67bd8be05c9c854708fe037d70be79 (commit)
      from  808735b8d2361585fe1292d32ac32671539ee144 (commit)

Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below.

- Log ----------------------------------------------------------------- commit 63249176ce78b00bd3484d23b28c578270d7fb2b

Author: Fabio M. Di Nitto <[email protected]>
Date:   Tue May 13 10:51:11 2008 +0200

[GFS] Make gfs build with 2.6.26 (DO NOT USE!)

put_inode has been removed from the main kernel. gfs1 needs a full porting and review. This commit allows only to build the module but it will NOT work.

commit 8259c6fe39766e87e4112f8260cc68f3fe3ca93c

Author: Fabio M. Di Nitto <[email protected]>
Date:   Tue May 13 10:27:40 2008 +0200

[GNBD] Update gnbd to work with 2.6.26

commit 08b0d3298b67bd8be05c9c854708fe037d70be79

Author: Fabio M. Di Nitto <[email protected]>
Date:   Tue May 13 10:27:12 2008 +0200

[BUILD] Require 2.6.26 kernel to build

-----------------------------------------------------------------------

Summary of changes:

 configure                        |    2 +-
 gfs-kernel/src/gfs/ops_address.c |    2 +-
 gfs-kernel/src/gfs/ops_super.c   |    6 ++-
 gfs-kernel/src/gfs/quota.c       |    4 +-
 gnbd-kernel/src/gnbd.c           |   91 +++++++++++++++++++-------------------
 gnbd-kernel/src/gnbd.h           |    4 +-
 6 files changed, 56 insertions(+), 53 deletions(-)
configure +1 -1
index 60ebe9e..1e6c287 100755
@@ -28,7 +28,7 @@ my $ret = 0;
 
 # this should be only the major version without the extra version 
 # eg. only the first 3 digits
-my $required_kernelversion = '2.6.25';
+my $required_kernelversion = '2.6.26';
 
 my %options = (
 	help => \$help,
gfs-kernel/src/gfs/ops_address.c +1 -1
index 9360ebe..c17d6c4 100644
@@ -417,7 +417,7 @@ gfs_commit_write(struct file *file, struct page *page,
 		if (inode->i_size < file_size)
 			i_size_write(inode, file_size);
 	} else {
-		error = generic_commit_write(file, page, from, to);
+		error = block_commit_write(page, from, to);
 		if (error)
 			goto fail;
 	}
gfs-kernel/src/gfs/ops_super.c +5 -1
index 7f92691..1ee2d93 100644
@@ -70,6 +70,9 @@ gfs_write_inode(struct inode *inode, int sync)
  * data.  So, sync it out.
  */
 
+// XXX FIX ME!
+
+#if 0
 static void
 gfs_put_inode(struct inode *inode)
 {
@@ -84,6 +87,7 @@ gfs_put_inode(struct inode *inode)
 	    !sdp->sd_args.ar_localcaching)
 		gfs_sync_page_i(inode, DIO_START | DIO_WAIT);
 }
+#endif
 
 /**
  * gfs_put_super - Unmount the filesystem
@@ -455,7 +459,7 @@ gfs_show_options(struct seq_file *s, struct vfsmount *mnt)
 
 struct super_operations gfs_super_ops = {
 	.write_inode = gfs_write_inode,
-	.put_inode = gfs_put_inode,
+	// XXX FIX ME .put_inode = gfs_put_inode,
 	.put_super = gfs_put_super,
 	.write_super = gfs_write_super,
 	.write_super_lockfs = gfs_write_super_lockfs,
gfs-kernel/src/gfs/quota.c +2 -2
index 211b416..9822ab6 100644
@@ -960,8 +960,8 @@ print_quota_message(struct gfs_sbd *sdp, struct gfs_quota_data *qd, char *type)
 
 	if (current->signal) {
 		tty = current->signal->tty;
-		if (tty && tty->driver->write)
-			tty->driver->write(tty, line, len);
+		if (tty && tty->ops->write)
+			tty->ops->write(tty, line, len);
 	}
 
 	kfree(line);
gnbd-kernel/src/gnbd.c +45 -46

217 lines not on this page · raw message

gnbd-kernel/src/gnbd.h +2 -2
index b88ad26..6de9c08 100644
@@ -28,7 +28,7 @@ enum {
 	GNBD_CMD_PING = 3
 };
 
-#define gnbd_cmd(req) ((req)->cmd[0])
+#define gnbd_cmd(req) ((req)->__cmd[0])
 #define MAX_GNBD 128
 
 /* values for flags field */
@@ -50,7 +50,7 @@ struct gnbd_device {
 	pid_t receiver_pid;
 	struct semaphore do_it_lock;
 	int open_count;
-	struct class_device class_dev;
+	struct device class_dev;
 	unsigned short int server_port;
 	char *server_name;
 	char name[32];

hooks/post-receive
--
Cluster Project