commit | bb02b186d02f90f693bc573c392df843b024f4ef | [log] [tgz] |
---|---|---|
author | Mimi Zohar <zohar@linux.vnet.ibm.com> | Wed Jun 21 21:13:18 2017 -0400 |
committer | Mimi Zohar <zohar@linux.vnet.ibm.com> | Wed Nov 08 15:16:36 2017 -0500 |
tree | b13e88ebb2cc873dd9ad72dc3cf9e3de69ecb32b | |
parent | a7d3d0392a325d630225b7dbccf2558f944114e5 [diff] |
ima: call ima_file_free() prior to calling fasync The file hash is calculated and written out as an xattr after calling fasync(). In order for the file data and metadata to be written out to disk at the same time, this patch calculates the file hash and stores it as an xattr before calling fasync. Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>