All of lore.kernel.org
 help / color / mirror / Atom feed
From: teigland@sourceware.org <teigland@sourceware.org>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] cluster/gfs-kernel/src/gfs ops_address.c ops_f ...
Date: 13 Jul 2007 15:19:17 -0000	[thread overview]
Message-ID: <20070713151917.6658.qmail@sourceware.org> (raw)

CVSROOT:	/cvs/cluster
Module name:	cluster
Changes by:	teigland at sourceware.org	2007-07-13 15:19:17

Modified files:
	gfs-kernel/src/gfs: ops_address.c ops_file.c 

Log message:
	Make gfs-kernel compile against post-2.6.22 (2.6.23-rc) kernels.
	(No more sendfile which is now done via splice which gfs1 still lacks.)

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs-kernel/src/gfs/ops_address.c.diff?cvsroot=cluster&r1=1.14&r2=1.15
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs-kernel/src/gfs/ops_file.c.diff?cvsroot=cluster&r1=1.35&r2=1.36

--- cluster/gfs-kernel/src/gfs/ops_address.c	2006/10/15 06:32:06	1.14
+++ cluster/gfs-kernel/src/gfs/ops_address.c	2007/07/13 15:19:16	1.15
@@ -447,7 +447,7 @@
  * Returns: errno
  */
 
-static int
+static ssize_t
 gfs_direct_IO(int rw, struct kiocb *iocb, const struct iovec *iov,
 	      loff_t offset, unsigned long nr_segs)
 {
--- cluster/gfs-kernel/src/gfs/ops_file.c	2007/06/17 03:35:02	1.35
+++ cluster/gfs-kernel/src/gfs/ops_file.c	2007/07/13 15:19:16	1.36
@@ -1597,6 +1597,7 @@
 		return gfs_lm_plock(sdp, &name, file, cmd, fl);
 }
 
+#if 0
 /**
  * gfs_sendfile - Send bytes to a file or socket
  * @in_file: The file to read from
@@ -1636,6 +1637,7 @@
 
 	return retval;
 }
+#endif
 
 /**
  * do_flock - Acquire a flock on a file
@@ -1761,7 +1763,7 @@
 	.release = gfs_close,
 	.fsync = gfs_fsync,
 	.lock = gfs_lock,
-	.sendfile = gfs_sendfile,
+	/* .sendfile = gfs_sendfile, */
 	.flock = gfs_flock,
 };
 



                 reply	other threads:[~2007-07-13 15:19 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070713151917.6658.qmail@sourceware.org \
    --to=teigland@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.