Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

[SSI] openssi/kernel/cluster/ssi/util ssidev.c,1.9,1.10: msg#00125

Subject: [SSI] openssi/kernel/cluster/ssi/util ssidev.c,1.9,1.10
Update of /cvsroot/ssic-linux/openssi/kernel/cluster/ssi/util
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4193/cluster/ssi/util

Modified Files:
        ssidev.c 
Log Message:
Changes to get fs and clsuter/ssi/cfs to compile


Index: ssidev.c
===================================================================
RCS file: /cvsroot/ssic-linux/openssi/kernel/cluster/ssi/util/ssidev.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- ssidev.c    28 Oct 2004 23:20:56 -0000      1.9
+++ ssidev.c    12 Nov 2004 03:21:44 -0000      1.10
@@ -657,6 +657,30 @@
        return 0;
 }
 
+int ssidev_get_bdev_server(struct block_dev *bdev, clusternode_t *server)
+{
+       int error = 0;
+       struct inode *inode = bd_inode;
+
+       if (S_ISCHR(inode->i_mode) &&
+           bdev->bd_dev == MKDEV(TTYAUX_MAJOR, 0)) {
+               if (current->signal->cttydev != NODEV)
+                       *server = current->signal->cttynode;
+               else
+                       error = -ENXIO;
+#ifdef SSI_XXX
+#warning Don't know if ssidev_get_bdev_server() is correct
+        } else if (cfs_inode_is_cfs(inode) && !reop_reopen_local(inode) &&
+                  !(S_ISCHR(inode->i_mode) &&
+                    inode->i_rdev == MKDEV(TTYAUX_MAJOR, 2)))
+               *server = itocmi(inode)->mi_server;
+#endif
+       else
+               *server = this_node;
+
+       return error;
+}
+
 int ssidev_get_inode_server(struct inode *inode, clusternode_t *server)
 {
        int error = 0;



-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
hardware.arm.at...    cms.citadel.dev...    video.gstreamer...    java.facelets.u...    misc.basics.qna...    web.wiki.instik...    network.uip.use...    xdg.devel/2003-...    tex.bibtex.bibd...    finance.quotesp...    ietf.zeroconf/2...    redhat.blinux.g...    suse.db2/2003-0...    php.phpesp/2004...    uml.devel/2003-...    gnome.labyrinth...    qnx.openqnx.dev...    boot-loaders.gr...    db.dataperfect....    audio.audacity....    linux.uclinux.m...    editors.j.devel...    os.openbsd.tech...    kde.users.multi...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation