Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 54726
b: refs/heads/master
c: 83ae1b7
h: refs/heads/master
v: v3
  • Loading branch information
Andreas Schwab authored and Linus Torvalds committed May 8, 2007
1 parent 8b94e94 commit 7732af7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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: a3e0975684337738997771416535d0e5d6fa27cd
refs/heads/master: 83ae1b79c898838e16ac8cde69b39d22d36fb035
4 changes: 3 additions & 1 deletion trunk/fs/compat_ioctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -684,8 +684,10 @@ static int hdio_getgeo(unsigned int fd, unsigned int cmd, unsigned long arg)
if (!err) {
err = copy_to_user (ugeo, &geo, 4);
err |= __put_user (geo.start, &ugeo->start);
if (err)
err = -EFAULT;
}
return err ? -EFAULT : 0;
return err;
}

static int hdio_ioctl_trans(unsigned int fd, unsigned int cmd, unsigned long arg)
Expand Down

0 comments on commit 7732af7

Please sign in to comment.