diff options
author | Glauber Costa <glommer@parallels.com> | 2012-04-12 12:49:13 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-04-12 13:12:12 -0700 |
commit | 569530fb1b40ab2d2ca147ee79898ac807ebdf90 (patch) | |
tree | e9f4f9a04a9a8f2a94a919aff55629f8946b30f4 /fs | |
parent | 32050017cf3bf2b983571a90351328b4f66e463d (diff) | |
download | linux-3.10-569530fb1b40ab2d2ca147ee79898ac807ebdf90.tar.gz linux-3.10-569530fb1b40ab2d2ca147ee79898ac807ebdf90.tar.bz2 linux-3.10-569530fb1b40ab2d2ca147ee79898ac807ebdf90.zip |
memcg: do not open code accesses to res_counter members
We should use the accessor res_counter_read_u64 for that.
Although a purely cosmetic change is sometimes better delayed, to avoid
conflicting with other people's work, we are starting to have people
touching this code as well, and reproducing the open code behavior
because that's the standard =)
Time to fix it, then.
Signed-off-by: Glauber Costa <glommer@parallels.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Acked-by: Michal Hocko <mhocko@suse.cz>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions