patch-2.2.17 linux/fs/coda/pioctl.c
Next file: linux/fs/coda/psdev.c
Previous file: linux/fs/coda/inode.c
Back to the patch index
Back to the overall index
- Lines: 47
- Date:
Mon Sep 4 18:39:22 2000
- Orig file:
v2.2.16/fs/coda/pioctl.c
- Orig date:
Mon Sep 4 18:37:09 2000
diff -u --recursive --new-file v2.2.16/fs/coda/pioctl.c linux/fs/coda/pioctl.c
@@ -26,8 +26,6 @@
/* pioctl ops */
static int coda_ioctl_permission(struct inode *inode, int mask);
-static int coda_ioctl_open(struct inode *i, struct file *f);
-static int coda_ioctl_release(struct inode *i, struct file *f);
static int coda_pioctl(struct inode * inode, struct file * filp,
unsigned int cmd, unsigned long arg);
@@ -64,9 +62,9 @@
NULL, /* select - default */
coda_pioctl, /* ioctl */
NULL, /* mmap */
- coda_ioctl_open, /* open */
+ NULL, /* open */
NULL,
- coda_ioctl_release, /* release */
+ NULL, /* release */
NULL, /* fsync */
};
@@ -77,25 +75,6 @@
return 0;
}
-
-/* The pioctl file ops*/
-int coda_ioctl_open(struct inode *i, struct file *f)
-{
-
- ENTRY;
-
- CDEBUG(D_PIOCTL, "File inode number: %ld\n",
- f->f_dentry->d_inode->i_ino);
-
- EXIT;
- return 0;
-}
-
-int coda_ioctl_release(struct inode *i, struct file *f)
-{
- return 0;
-}
-
static int coda_pioctl(struct inode * inode, struct file * filp,
unsigned int cmd, unsigned long user_data)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)