Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 38582
b: refs/heads/master
c: c73530a
h: refs/heads/master
v: v3
  • Loading branch information
David Teigland authored and Steven Whitehouse committed Jan 18, 2006
1 parent b8e4c03 commit 7ef0a94
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5ddec5b3d79eed6df1a37be435f183915a4b696a
refs/heads/master: c73530a1f9633b2e7e6e19d0274b575febf8e8dc
7 changes: 0 additions & 7 deletions trunk/fs/gfs2/ops_file.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 7ef0a94

Please sign in to comment.