ima: new helper: file_inode(file)
authorLibo Chen <clbchenlibo.chen@huawei.com>
Wed, 11 Dec 2013 06:11:28 +0000 (14:11 +0800)
committerMimi Zohar <zohar@linux.vnet.ibm.com>
Tue, 4 Mar 2014 21:53:03 +0000 (16:53 -0500)
commit31d4b761896101660b3efe01816b63d9814755eb
tree2c4ddc9cfa5fcf1575c3893b64e7d658ea74b615
parent864f32a52b53341c54a25953afb5b66ed79a7f76
ima: new helper: file_inode(file)

Replace "file->f_dentry->d_inode" with the new file_inode() helper
function.

Signed-off-by: Libo Chen <clbchenlibo.chen@huawei.com>
Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
security/integrity/ima/ima_api.c