X-Git-Url: http://git.cascardo.eti.br/?a=blobdiff_plain;f=ipc%2Fshm.c;h=ed3027d0f277a53745b41ea731c4783e3c554bee;hb=d027595be1fd4115e5e6ce4a0ec5f0fd2a82901f;hp=41787276e14170af7de8261181721991fde528bf;hpb=92907cbbef8625bb3998d1eb385fc88f23c97a3f;p=cascardo%2Flinux.git diff --git a/ipc/shm.c b/ipc/shm.c index 41787276e141..ed3027d0f277 100644 --- a/ipc/shm.c +++ b/ipc/shm.c @@ -459,7 +459,7 @@ static const struct file_operations shm_file_operations_huge = { .fallocate = shm_fallocate, }; -int is_file_shm_hugepages(struct file *file) +bool is_file_shm_hugepages(struct file *file) { return file->f_op == &shm_file_operations_huge; }