[Balls-cvs-act] CVS: linux/include/linux balls.h,1.7,1.8 balls_bits.h,1.6,1.7
Status: Pre-Alpha
Brought to you by:
quinnharris
|
From: Quinn H. <qui...@us...> - 2001-10-25 00:17:32
|
Update of /cvsroot/balls/linux/include/linux
In directory usw-pr-cvs1:/tmp/cvs-serv4671/include/linux
Modified Files:
balls.h balls_bits.h
Log Message:
Index: balls.h
===================================================================
RCS file: /cvsroot/balls/linux/include/linux/balls.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** balls.h 2001/10/24 23:36:37 1.7
--- balls.h 2001/10/25 00:17:29 1.8
***************
*** 1,5 ****
#include "balls_bits.h"
! struct task_struct *balls_daemon;
/* The following is used for debuging.
--- 1,5 ----
#include "balls_bits.h"
! extern struct task_struct *balls_daemon;
/* The following is used for debuging.
***************
*** 7,14 ****
* That code will later be moved directly into the kernel
*/
! void (*__queue_put)(struct dentry *, struct dentry *);
! void (*__balls_create)(struct inode *, struct dentry *);
! void (*__balls_trunc)(struct inode *, struct dentry *);
! void (*__balls_close)(struct file *filp);
static inline void balls_vfs_create(struct inode *dir, struct dentry *dentry)
--- 7,14 ----
* That code will later be moved directly into the kernel
*/
! extern void (*__queue_put)(struct dentry *, struct dentry *);
! extern void (*__balls_create)(struct inode *, struct dentry *);
! extern void (*__balls_trunc)(struct inode *, struct dentry *);
! extern void (*__balls_close)(struct file *filp);
static inline void balls_vfs_create(struct inode *dir, struct dentry *dentry)
***************
*** 35,40 ****
unsigned char op)
{
! __queue_put(((((op >> 2) & 0x03) << 30) & 0xFFFFFFFF) & src,
! ((((op >> 0) & 0x03) << 30) & 0xFFFFFFFF) & src);
}
--- 35,40 ----
unsigned char op)
{
! __queue_put((struct dentry *)(((((op >> 2) & 0x03) << 30) & 0xFFFFFFFF) & (int)src),
! (struct dentry *)(((((op >> 0) & 0x03) << 30) & 0xFFFFFFFF) & (int)src));
}
***************
*** 46,57 ****
if (balls_daemon) {
/* Test if this directory is not excuded !!! */
! queue_put(0xC0000000, dentry, op);
}
}
! static inline void balls_notify(struct inode *dir,
! struct dentry *dentry,
! struct dentry *source,
! char op)
{
/* For debuging only, remove later */
--- 46,57 ----
if (balls_daemon) {
/* Test if this directory is not excuded !!! */
! queue_put((struct dentry *)0xC0000000, dentry, op);
}
}
! static inline void balls_notify_src(struct inode *dir,
! struct dentry *dentry,
! struct dentry *source,
! char op)
{
/* For debuging only, remove later */
Index: balls_bits.h
===================================================================
RCS file: /cvsroot/balls/linux/include/linux/balls_bits.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** balls_bits.h 2001/10/20 06:13:50 1.6
--- balls_bits.h 2001/10/25 00:17:29 1.7
***************
*** 5,8 ****
--- 5,10 ----
#define VFS_RMDIR 0x02
#define VFS_UNLINK 0x03
+ #define SB_MOUNT 0x04
+ #define SB_UMOUNT 0x05
/* Source and Destination */
|