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(-)