diff options
| author | Al Viro <viro@zeniv.linux.org.uk> | 2016-11-20 20:23:04 -0500 |
|---|---|---|
| committer | Al Viro <viro@zeniv.linux.org.uk> | 2016-12-05 18:58:32 -0500 |
| commit | 12c7f9dc0fd154632457f3474351bcfcf4e61512 (patch) | |
| tree | dfa47ea631a7a1cdeca78efed7282ac23ba47c36 /fs/notify/fsnotify.c | |
| parent | e637835eccc8b93f39ca869628f9a0437bba744e (diff) | |
| download | lwn-12c7f9dc0fd154632457f3474351bcfcf4e61512.tar.gz lwn-12c7f9dc0fd154632457f3474351bcfcf4e61512.zip | |
constify fsnotify_parent()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/notify/fsnotify.c')
| -rw-r--r-- | fs/notify/fsnotify.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/notify/fsnotify.c b/fs/notify/fsnotify.c index 7788a79eedf7..b41515d3f081 100644 --- a/fs/notify/fsnotify.c +++ b/fs/notify/fsnotify.c @@ -86,7 +86,7 @@ void __fsnotify_update_child_dentry_flags(struct inode *inode) } /* Notify this dentry's parent about a child's events. */ -int __fsnotify_parent(struct path *path, struct dentry *dentry, __u32 mask) +int __fsnotify_parent(const struct path *path, struct dentry *dentry, __u32 mask) { struct dentry *parent; struct inode *p_inode; |
