projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ddec5b
)
[GFS2] Remove remains of the GFS2 identify ioctl()
author
David Teigland
<teigland@redhat.com>
Wed, 18 Jan 2006 10:11:51 +0000
(10:11 +0000)
committer
Steven Whitehouse
<swhiteho@redhat.com>
Wed, 18 Jan 2006 10:11:51 +0000
(10:11 +0000)
We don't need this ioctl, we can use stat() to gain the same
information.
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/ops_file.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/gfs2/ops_file.c
b/fs/gfs2/ops_file.c
index 1e6f51b74f4474702a60509ea3f659fb4feb35b4..563c19d0d4065425c3c06d463727ae170bdd5c0f 100644
(file)
--- a/
fs/gfs2/ops_file.c
+++ b/
fs/gfs2/ops_file.c
@@
-1214,16
+1214,9
@@
static int gfs2_ioctl(struct inode *inode, struct file *file, unsigned int cmd,
atomic_inc(&ip->i_sbd->sd_ops_file);
switch (cmd) {
- case GFS2_IOCTL_IDENTIFY: {
- unsigned int x = GFS2_MAGIC;
- if (copy_to_user((unsigned int __user *)arg, &x, sizeof(unsigned int)))
- return -EFAULT;
- return 0;
-
case GFS2_IOCTL_SETFLAGS:
case GFS2_IOCTL_GETFLAGS:
return gfs2_ioctl_flags(ip, cmd, arg);
- }
default:
return -ENOTTY;
This page took
0.026505 seconds
and
5
git commands to generate.