Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 37124
b: refs/heads/master
c: 87395de
h: refs/heads/master
v: v3
  • Loading branch information
Alexey Dobriyan authored and Tim Shimmin committed Sep 28, 2006
1 parent 298f0ed commit 8b0a2fe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions 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: 128dabc5e9aa13dfebcad84e6b4ab31078555131
refs/heads/master: 87395deb0b3d174ffcc7f66569764f0715ac5174
9 changes: 2 additions & 7 deletions trunk/fs/xfs/linux-2.6/xfs_ioctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -763,6 +763,8 @@ xfs_ioctl(
return xfs_ioc_fsgeometry(mp, arg);

case XFS_IOC_GETVERSION:
return put_user(inode->i_generation, (int __user *)arg);

case XFS_IOC_GETXFLAGS:
case XFS_IOC_SETXFLAGS:
case XFS_IOC_FSGETXATTR:
Expand Down Expand Up @@ -1264,13 +1266,6 @@ xfs_ioc_xattr(
break;
}

case XFS_IOC_GETVERSION: {
flags = vn_to_inode(vp)->i_generation;
if (copy_to_user(arg, &flags, sizeof(flags)))
error = -EFAULT;
break;
}

default:
error = -ENOTTY;
break;
Expand Down

0 comments on commit 8b0a2fe

Please sign in to comment.