constify get_dcookie() and friends

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
Al Viro
2016-11-20 19:30:18 -05:00
parent 8bd107633b
commit 71215a75ce
4 changed files with 6 additions and 6 deletions

View File

@@ -206,7 +206,7 @@ void sync_stop(void)
* because we cannot reach this code without at least one
* dcookie user still being registered (namely, the reader
* of the event buffer). */
static inline unsigned long fast_get_dcookie(struct path *path)
static inline unsigned long fast_get_dcookie(const struct path *path)
{
unsigned long cookie;