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