Re: [PATCH v4 2/3] mm/shmem: update file sealing comments and file checking

From: Khalid Aziz
Date: Tue Apr 17 2018 - 19:40:53 EST


On 04/15/2018 12:21 PM, Mike Kravetz wrote:
In preparation for memfd code restructure, update comments,
definitions and function names dealing with file sealing to
indicate that tmpfs and hugetlbfs are the supported filesystems.
Also, change file pointer checks in memfd_file_seals_ptr
to use defined interfaces instead of directly referencing
file_operation structs.

Signed-off-by: Mike Kravetz <mike.kravetz@xxxxxxxxxx>
---
mm/shmem.c | 50 ++++++++++++++++++++++++++------------------------
1 file changed, 26 insertions(+), 24 deletions(-)

Looks good.

Reviewed-by: Khalid Aziz <khalid.aziz@xxxxxxxxxx>