mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
constify get_dcookie() and friends
Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
parent
8bd107633b
commit
71215a75ce
4 changed files with 6 additions and 6 deletions
|
|
@ -90,7 +90,7 @@ static void hash_dcookie(struct dcookie_struct * dcs)
|
|||
}
|
||||
|
||||
|
||||
static struct dcookie_struct *alloc_dcookie(struct path *path)
|
||||
static struct dcookie_struct *alloc_dcookie(const struct path *path)
|
||||
{
|
||||
struct dcookie_struct *dcs = kmem_cache_alloc(dcookie_cache,
|
||||
GFP_KERNEL);
|
||||
|
|
@ -113,7 +113,7 @@ static struct dcookie_struct *alloc_dcookie(struct path *path)
|
|||
/* This is the main kernel-side routine that retrieves the cookie
|
||||
* value for a dentry/vfsmnt pair.
|
||||
*/
|
||||
int get_dcookie(struct path *path, unsigned long *cookie)
|
||||
int get_dcookie(const struct path *path, unsigned long *cookie)
|
||||
{
|
||||
int err = 0;
|
||||
struct dcookie_struct * dcs;
|
||||
|
|
|
|||
Loading…
Reference in a new issue