Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 25531
b: refs/heads/master
c: 091e881
h: refs/heads/master
i:
  25529: 5a76e01
  25527: f78971d
v: v3
  • Loading branch information
Arnd Bergmann authored and Linus Torvalds committed Apr 11, 2006
1 parent 5698fa5 commit 40670e2
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: 68250ba5df4c9d00d3064a0ba9a894035436916b
refs/heads/master: 091e881d0e55496d8887b61446ae1c598b0995b6
2 changes: 1 addition & 1 deletion trunk/fs/inotify.c
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@ void inotify_d_instantiate(struct dentry *entry, struct inode *inode)
WARN_ON(entry->d_flags & DCACHE_INOTIFY_PARENT_WATCHED);
spin_lock(&entry->d_lock);
parent = entry->d_parent;
if (inotify_inode_watched(parent->d_inode))
if (parent->d_inode && inotify_inode_watched(parent->d_inode))
entry->d_flags |= DCACHE_INOTIFY_PARENT_WATCHED;
spin_unlock(&entry->d_lock);
}
Expand Down

0 comments on commit 40670e2

Please sign in to comment.