aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/ops_file.c
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2006-01-18 05:11:51 -0500
committerSteven Whitehouse <swhiteho@redhat.com>2006-01-18 05:11:51 -0500
commitc73530a1f9633b2e7e6e19d0274b575febf8e8dc (patch)
tree2eac1d5468df88a48a86702bea2cf1b659bf8eda /fs/gfs2/ops_file.c
parent5ddec5b3d79eed6df1a37be435f183915a4b696a (diff)
[GFS2] Remove remains of the GFS2 identify ioctl()
We don't need this ioctl, we can use stat() to gain the same information. Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/ops_file.c')
-rw-r--r--fs/gfs2/ops_file.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/fs/gfs2/ops_file.c b/fs/gfs2/ops_file.c
index 1e6f51b74f44..563c19d0d406 100644
--- 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,
1214 atomic_inc(&ip->i_sbd->sd_ops_file); 1214 atomic_inc(&ip->i_sbd->sd_ops_file);
1215 1215
1216 switch (cmd) { 1216 switch (cmd) {
1217 case GFS2_IOCTL_IDENTIFY: {
1218 unsigned int x = GFS2_MAGIC;
1219 if (copy_to_user((unsigned int __user *)arg, &x, sizeof(unsigned int)))
1220 return -EFAULT;
1221 return 0;
1222
1223 case GFS2_IOCTL_SETFLAGS: 1217 case GFS2_IOCTL_SETFLAGS:
1224 case GFS2_IOCTL_GETFLAGS: 1218 case GFS2_IOCTL_GETFLAGS:
1225 return gfs2_ioctl_flags(ip, cmd, arg); 1219 return gfs2_ioctl_flags(ip, cmd, arg);
1226 }
1227 1220
1228 default: 1221 default:
1229 return -ENOTTY; 1222 return -ENOTTY;