diff options
Diffstat (limited to 'fs/proc/base.c')
-rw-r--r-- | fs/proc/base.c | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/fs/proc/base.c b/fs/proc/base.c index 54d93e131..4a191bfef 100644 --- a/fs/proc/base.c +++ b/fs/proc/base.c @@ -631,26 +631,19 @@ static void pid_delete_dentry(struct dentry * dentry) static struct dentry_operations pid_fd_dentry_operations = { - pid_fd_revalidate, /* revalidate */ - NULL, /* d_hash */ - NULL, /* d_compare */ - pid_delete_dentry /* d_delete(struct dentry *) */ + d_revalidate: pid_fd_revalidate, + d_delete: pid_delete_dentry, }; static struct dentry_operations pid_dentry_operations = { - NULL, /* revalidate */ - NULL, /* d_hash */ - NULL, /* d_compare */ - pid_delete_dentry /* d_delete(struct dentry *) */ + d_delete: pid_delete_dentry, }; static struct dentry_operations pid_base_dentry_operations = { - pid_base_revalidate, /* revalidate */ - NULL, /* d_hash */ - NULL, /* d_compare */ - pid_delete_dentry /* d_delete(struct dentry *) */ + d_revalidate: pid_base_revalidate, + d_delete: pid_delete_dentry, }; /* Lookups */ |