Skip to contentSkip to conversation

Cluster Project branch, STABLE2, updated. cluster-2.03.05-5-ga63d861

Cluster-devel [email protected] 1 participant 1 message Jul 14, 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=a63d861990a7c8cf5dcbc50a0b1f86c7156edfaf

The branch, STABLE2 has been updated

       via  a63d861990a7c8cf5dcbc50a0b1f86c7156edfaf (commit)
       via  fb70fa32ad48235a93dee140d764658856904be6 (commit)
       via  82d176ba485f2ef049fd303b9e41868667cebbdb (commit)
       via  95a0ca2bd81ead2036ed609d71cb4c3e1e21960a (commit)
       via  303b48f80ea023a58b32bc2b4b017d3fdd9f59da (commit)
      from  78a78bc47644465fbc9cf7acb5d781daf7cb4e5b (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 a63d861990a7c8cf5dcbc50a0b1f86c7156edfaf

Author: Fabio M. Di Nitto <[email protected]>
Date:   Tue Jul 1 09:59:00 2008 +0200

[BUILD] Add install/uninstall snippets for documents

commit fb70fa32ad48235a93dee140d764658856904be6

Author: Fabio M. Di Nitto <[email protected]>
Date:   Mon May 19 05:57:01 2008 +0200

[GFS] Fix comment

commit 82d176ba485f2ef049fd303b9e41868667cebbdb

Author: Bob Peterson <[email protected]>
Date:   Sun May 18 22:47:35 2008 -0500

Replace put_inode with drop_inode

commit 95a0ca2bd81ead2036ed609d71cb4c3e1e21960a

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 303b48f80ea023a58b32bc2b4b017d3fdd9f59da

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

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

Summary of changes:

 gfs-kernel/src/gfs/ops_address.c |    2 +-
 gfs-kernel/src/gfs/ops_super.c   |    7 ++-
 gfs-kernel/src/gfs/quota.c       |    4 +-
 gnbd-kernel/src/gnbd.c           |   91 +++++++++++++++++++-------------------
 gnbd-kernel/src/gnbd.h           |    4 +-
 make/install.mk                  |    4 ++
 make/uninstall.mk                |    3 +
 7 files changed, 61 insertions(+), 54 deletions(-)
gfs-kernel/src/gfs/ops_address.c +1 -1
index 842b0cb..63854ef 100644
@@ -404,7 +404,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 +4 -3
index d4ca744..0d60d18 100644
@@ -49,7 +49,7 @@ gfs_write_inode(struct inode *inode, int sync)
 }
 
 /**
- * gfs_put_inode - put an inode
+ * gfs_drop_inode - drop an inode
  * @inode: The inode
  *
  * If i_nlink is zero, any dirty data for the inode is thrown away.
@@ -58,7 +58,7 @@ gfs_write_inode(struct inode *inode, int sync)
  */
 
 static void
-gfs_put_inode(struct inode *inode)
+gfs_drop_inode(struct inode *inode)
 {
 	struct gfs_sbd *sdp = get_v2sdp(inode->i_sb);
 	struct gfs_inode *ip = get_v2ip(inode);
@@ -70,6 +70,7 @@ gfs_put_inode(struct inode *inode)
 	    S_ISREG(inode->i_mode) &&
 	    !sdp->sd_args.ar_localcaching)
 		gfs_sync_page_i(inode, DIO_START | DIO_WAIT);
+	generic_drop_inode(inode);
 }
 
 /**
@@ -442,7 +443,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,
+	.drop_inode = gfs_drop_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 f98558b..13093a6 100644
@@ -947,8 +947,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 8456d25..b0b45dc 100644
@@ -15,7 +15,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 */
@@ -37,7 +37,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];
make/install.mk +4 -0
index 3331a1f..7d99029 100644
@@ -55,3 +55,7 @@ ifdef FENCEAGENTSLIB
 	install -d ${DESTDIR}/${fenceagentslibdir}
 	install -m644 $(S)/${FENCEAGENTSLIB} ${DESTDIR}/${fenceagentslibdir}
 endif
+ifdef DOCS
+	install -d ${docdir}
+	install -m644 $(S)/${DOCS} ${docdir}
+endif
make/uninstall.mk +3 -0
index 9e64522..b54ac85 100644
@@ -35,3 +35,6 @@ endif
 ifdef FENCEAGENTSLIB
 	${UNINSTALL} ${FENCEAGENTSLIB}* ${DESTDIR}/${fenceagentslibdir}
 endif
+ifdef DOCS
+	${UNINSTALL} ${DOCS} ${docdir}
+endif

hooks/post-receive
--
Cluster Project