linux-next: manual merge of the vfs tree with the tree
Subsystems (2)
Hi Al,
Today's linux-next merge of the vfs tree got a conflict in fs/namei.c between commit 890458a43dbd ("path: New helpers path_get_pin/path_put_unpin for path pin") from the nfsd tree and commit 894bc8c4662b ("namei: remove restrictions on nesting depth") from the vfs tree.
I fixed it up (see below) and can carry the fix as necessary (no action is required).
cheers
fs/namei.c +0 -0
@@@ -492,32 -492,7 +492,33 @@@ void path_put(const struct path *path }EXPORT_SYMBOL (path_put); +/** + * path_get_pin - get a reference to a path's dentry + * and pin to path's vfsmnt + * @path: path to get the reference to + * @p: the fs_pin pin to vfsmnt + */ +void path_get_pin(struct path *path, struct fs_pin *p) +{ + dget(path->dentry); +pin_insert_group (p, path->mnt,NULL ); +} +EXPORT_SYMBOL (path_get_pin); + +/** + * path_put_unpin - put a reference to a path's dentry + * and remove pin to path's vfsmnt + * @path: path to put the reference to + * @p: the fs_pin removed from vfsmnt + */ +void path_put_unpin(struct path *path, struct fs_pin *p) +{ + dput(path->dentry); +pin_remove (p); +} +EXPORT_SYMBOL (path_put_unpin); + +#define EMBEDDED_LEVELS 2struct nameidata {struct path path;struct qstr last;