Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 295471
b: refs/heads/master
c: 51f72f4
h: refs/heads/master
i:
  295469: bcdb709
  295467: d78889b
  295463: 0829704
  295455: 425aeb6
v: v3
  • Loading branch information
Eric W. Biederman committed Feb 2, 2012
1 parent d0f817b commit 8c8cca9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 1347440db6f76ec5ae0af8d8558387f571a5e1dd
refs/heads/master: 51f72f4a0f92e4abde33a8bca0fac9667575d035
6 changes: 3 additions & 3 deletions trunk/fs/proc/proc_sysctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -833,9 +833,9 @@ static struct ctl_dir *find_subdir(struct ctl_dir *dir,
entry = find_entry(&head, dir, name, namelen);
if (!entry)
return ERR_PTR(-ENOENT);
if (S_ISDIR(entry->mode))
return container_of(head, struct ctl_dir, header);
return ERR_PTR(-ENOTDIR);
if (!S_ISDIR(entry->mode))
return ERR_PTR(-ENOTDIR);
return container_of(head, struct ctl_dir, header);
}

static struct ctl_dir *new_dir(struct ctl_table_set *set,
Expand Down

0 comments on commit 8c8cca9

Please sign in to comment.