The following patches attempt to fix up the problems with 'struct path' as discussed in the 'fsstack: struct path' thread on linux-kernel. The net effect is moving struct path from fs/namei.c to include/linux/namei.h, as it is quite useful (and it will discourage the (ab)use of struct nameidata.) The fsstack code benefits from it as the stackable fs dentries have to keep track of the lower dentry as well as the lower vfsmount. The first two patches rename Reiserfs's 'struct path' to 'struct treepath', and Device Mapper's 'struct path' to 'struct dm_path', respectively. The third patch moves struct path from fs/namei.c to include/linux/namei.h, making it accessible to any part of the VFS as well as other parts of the kernel - stackable filesystem like eCryptfs and Unionfs come to mind. The fourth patch converts eCryptfs's dentry-vfsmount pairs in the dentry private data to struct path. Signed-off-by: Josef "Jeff" Sipek <jsipek@xxxxxxxxxxxxx> -- dm-devel mailing list dm-devel@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/dm-devel