Wrapfs: ->iget fixes
authorErez Zadok <ezk@cs.sunysb.edu>
Sat, 18 Feb 2017 22:32:04 +0000 (17:32 -0500)
committerRohit Kumar <rokkumar@cs.stonybrook.edu>
Fri, 12 Oct 2018 16:28:50 +0000 (12:28 -0400)
commit86c729b0d8ef3252280dc9aa7dec7439eedfc7ae
tree1c738b919b0a4bb2c648e79796899d3fb013aa2a
parent02602bac4d3856b8ddc92e9dd46dbf37e62867f2
Wrapfs: ->iget fixes

Change where we igrab/iput to ensure we always hold a valid lower_inode.
Return ENOMEM (not EACCES) if iget5_locked returns NULL.

Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
fs/wrapfs/lookup.c