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)
commitd6103e4a504c33741727e991380d4f41aebaa912
treefc788c6457677e74e00a051e06adab6a536345de
parent5892247e801a2acb0c54ea12253a261f85e31e24
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