Wrapfs: ->iget fixes
authorErez Zadok <ezk@cs.sunysb.edu>
Sat, 18 Feb 2017 22:32:04 +0000 (17:32 -0500)
committerErez Zadok <ezk@cs.sunysb.edu>
Sat, 18 Feb 2017 22:32:04 +0000 (17:32 -0500)
commit8c49eaa0ab9c3d3444051fff34ca88f1a4062c08
tree627c8cc8acb7f3955bbdc4c19411660319761e12
parent496d954206c0239252718d1804b367217b4809e9
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