]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - fs/proc/proc_sysctl.c
Merge branch 'fortglx/3.7/time' of git://git.linaro.org/people/jstultz/linux into...
[karo-tx-linux.git] / fs / proc / proc_sysctl.c
index 3476bca8f7af93392539e28b14aeaf9b40c457a0..dfafeb2b05a0e2ddc5481b2b2a4f445ec8086a0e 100644 (file)
@@ -433,7 +433,7 @@ static struct ctl_table_header *grab_header(struct inode *inode)
 }
 
 static struct dentry *proc_sys_lookup(struct inode *dir, struct dentry *dentry,
-                                       struct nameidata *nd)
+                                       unsigned int flags)
 {
        struct ctl_table_header *head = grab_header(dir);
        struct ctl_table_header *h = NULL;
@@ -794,9 +794,9 @@ static const struct inode_operations proc_sys_dir_operations = {
        .getattr        = proc_sys_getattr,
 };
 
-static int proc_sys_revalidate(struct dentry *dentry, struct nameidata *nd)
+static int proc_sys_revalidate(struct dentry *dentry, unsigned int flags)
 {
-       if (nd->flags & LOOKUP_RCU)
+       if (flags & LOOKUP_RCU)
                return -ECHILD;
        return !PROC_I(dentry->d_inode)->sysctl->unregistering;
 }