Wrapfs: dentry_open() no longer does mntput/dput
authorErez Zadok <ezk@cs.sunysb.edu>
Wed, 5 Jun 2013 03:19:31 +0000 (23:19 -0400)
committerRohit Kumar <rokkumar@cs.stonybrook.edu>
Fri, 12 Oct 2018 16:28:15 +0000 (12:28 -0400)
commit1891ed47b1c334d5d95c9dfe4de8324dd43c3fe3
tree347723f2297e7ba0f5e727e25f19c5ecc6f9f090
parent34a3c726ccee49d60e2f145d1aa1b3c3085e0e1e
Wrapfs: dentry_open() no longer does mntput/dput

We need to grab a reference on the path before dentry_open, and drop it
after.

Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
fs/wrapfs/file.c