Merge branch 'proc-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/adobriyan/proc
* 'proc-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/adobriyan/proc: proc: fix PG_locked reporting in /proc/kpageflags
This commit is contained in:
@@ -107,7 +107,7 @@ static ssize_t kpageflags_read(struct file *file, char __user *buf,
|
|||||||
else
|
else
|
||||||
kflags = ppage->flags;
|
kflags = ppage->flags;
|
||||||
|
|
||||||
uflags = kpf_copy_bit(KPF_LOCKED, PG_locked, kflags) |
|
uflags = kpf_copy_bit(kflags, KPF_LOCKED, PG_locked) |
|
||||||
kpf_copy_bit(kflags, KPF_ERROR, PG_error) |
|
kpf_copy_bit(kflags, KPF_ERROR, PG_error) |
|
||||||
kpf_copy_bit(kflags, KPF_REFERENCED, PG_referenced) |
|
kpf_copy_bit(kflags, KPF_REFERENCED, PG_referenced) |
|
||||||
kpf_copy_bit(kflags, KPF_UPTODATE, PG_uptodate) |
|
kpf_copy_bit(kflags, KPF_UPTODATE, PG_uptodate) |
|
||||||
|
Reference in New Issue
Block a user