projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fsnotify: remove check that source dentry is positive
[linux-2.6-microblaze.git]
/
include
/
linux
/
fsnotify.h
diff --git
a/include/linux/fsnotify.h
b/include/linux/fsnotify.h
index
6e63f7e
..
f8acddc
100644
(file)
--- a/
include/linux/fsnotify.h
+++ b/
include/linux/fsnotify.h
@@
-150,9
+150,7
@@
static inline void fsnotify_move(struct inode *old_dir, struct inode *new_dir,
if (target)
fsnotify_link_count(target);
-
- if (source)
- fsnotify_inode(source, FS_MOVE_SELF);
+ fsnotify_inode(source, FS_MOVE_SELF);
audit_inode_child(new_dir, moved, AUDIT_TYPE_CHILD_CREATE);
}