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

From: Khalid Aziz
Date: Tue Apr 10 2018 - 12:54:59 EST


On 04/09/2018 05:05 PM, Mike Kravetz wrote:
In preparation for memfd code restucture, update comments 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 routines instead of directly
referencing file_operation structs.

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


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