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