Re: [RFC PATCH 02/35] vfs: add path_open()

2018-04-12 Thread Matthew Wilcox
On Thu, Apr 12, 2018 at 05:07:53PM +0200, Miklos Szeredi wrote: > Currently opening an overlay file results in: > > - the real file on the underlying layer being opened > - f_path being set to the overlay {mount, dentry} pair > > This patch adds a new helper that allows the above to be explicit

[RFC PATCH 02/35] vfs: add path_open()

2018-04-12 Thread Miklos Szeredi
Currently opening an overlay file results in: - the real file on the underlying layer being opened - f_path being set to the overlay {mount, dentry} pair This patch adds a new helper that allows the above to be explicitly performed. I.e. it's the same as dentry_open(), except the underlying in