Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 118428
b: refs/heads/master
c: 96b0317
h: refs/heads/master
v: v3
  • Loading branch information
Ian Kent authored and Linus Torvalds committed Nov 6, 2008
1 parent be8e7cd commit 57b6203
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 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: bc9c4068388eea01d3b5da31016879f2341ecec5
refs/heads/master: 96b0317906690997c16c7efffbc4c0fafcd6f7f2
5 changes: 3 additions & 2 deletions trunk/fs/autofs4/dev-ioctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,10 @@ static inline void free_dev_ioctl(struct autofs_dev_ioctl *param)
*/
static int validate_dev_ioctl(int cmd, struct autofs_dev_ioctl *param)
{
int err = -EINVAL;
int err;

if (check_dev_ioctl_version(cmd, param)) {
err = check_dev_ioctl_version(cmd, param);
if (err) {
AUTOFS_WARN("invalid device control module version "
"supplied for cmd(0x%08x)", cmd);
goto out;
Expand Down

0 comments on commit 57b6203

Please sign in to comment.