Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 177747
b: refs/heads/master
c: cb59861
h: refs/heads/master
i:
  177745: d495de8
  177743: 38d20c4
v: v3
  • Loading branch information
Jeff Layton authored and Al Viro committed Dec 17, 2009
1 parent b16ca11 commit 21cfbfb
Show file tree
Hide file tree
Showing 2 changed files with 2 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: a3a065e3f13da8a3470ed09c7f38aad256083726
refs/heads/master: cb59861f03a626196a23fdef5e20ddbb8cca6466
2 changes: 1 addition & 1 deletion trunk/fs/namei.c
Original file line number Diff line number Diff line change
Expand Up @@ -1764,7 +1764,7 @@ struct file *do_filp_open(int dfd, const char *pathname,

path_to_nameidata(&path, &nd);
error = -EISDIR;
if (path.dentry->d_inode && S_ISDIR(path.dentry->d_inode->i_mode))
if (S_ISDIR(path.dentry->d_inode->i_mode))
goto exit;
ok:
/*
Expand Down

0 comments on commit 21cfbfb

Please sign in to comment.