Wrapfs: ->iget fixes
authorErez Zadok <ezk@cs.sunysb.edu>
Sun, 19 Feb 2017 00:11:23 +0000 (19:11 -0500)
committerErez Zadok <ezk@cs.sunysb.edu>
Sun, 19 Feb 2017 00:11:23 +0000 (19:11 -0500)
commit86faf7a864ea65f99772a302ade78feef531ff7b
treed96737cb3fb8b86507565157d3f410116abc92e1
parent2e2385ff8d6233a10280e099e1ac1407415f7639
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