diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2014-10-31 01:22:04 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2014-11-19 13:01:25 -0500 |
commit | b583043e99bc6d91e98fae32bd9eff6a5958240a (patch) | |
tree | 8f2f9a4d28ae16c7d452808ff400bb1f31fb09c8 /mm/memcontrol.c | |
parent | 30e46aba8f1010b03178f04c0c56be299c063df2 (diff) |
kill f_dentry uses
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'mm/memcontrol.c')
-rw-r--r-- | mm/memcontrol.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/memcontrol.c b/mm/memcontrol.c index 23976fd885fd..8c3385181b16 100644 --- a/mm/memcontrol.c +++ b/mm/memcontrol.c | |||
@@ -5055,7 +5055,7 @@ static ssize_t memcg_write_event_control(struct kernfs_open_file *of, | |||
5055 | * | 5055 | * |
5056 | * DO NOT ADD NEW FILES. | 5056 | * DO NOT ADD NEW FILES. |
5057 | */ | 5057 | */ |
5058 | name = cfile.file->f_dentry->d_name.name; | 5058 | name = cfile.file->f_path.dentry->d_name.name; |
5059 | 5059 | ||
5060 | if (!strcmp(name, "memory.usage_in_bytes")) { | 5060 | if (!strcmp(name, "memory.usage_in_bytes")) { |
5061 | event->register_event = mem_cgroup_usage_register_event; | 5061 | event->register_event = mem_cgroup_usage_register_event; |
@@ -5079,7 +5079,7 @@ static ssize_t memcg_write_event_control(struct kernfs_open_file *of, | |||
5079 | * automatically removed on cgroup destruction but the removal is | 5079 | * automatically removed on cgroup destruction but the removal is |
5080 | * asynchronous, so take an extra ref on @css. | 5080 | * asynchronous, so take an extra ref on @css. |
5081 | */ | 5081 | */ |
5082 | cfile_css = css_tryget_online_from_dir(cfile.file->f_dentry->d_parent, | 5082 | cfile_css = css_tryget_online_from_dir(cfile.file->f_path.dentry->d_parent, |
5083 | &memory_cgrp_subsys); | 5083 | &memory_cgrp_subsys); |
5084 | ret = -EINVAL; | 5084 | ret = -EINVAL; |
5085 | if (IS_ERR(cfile_css)) | 5085 | if (IS_ERR(cfile_css)) |