1
0
Files
linux/fs
Vivek Goyal 2664bd0897 ovl: Store lower data inode in ovl_inode
Right now ovl_inode stores inode pointer for lower inode.  This helps with
quickly getting lower inode given overlay inode (ovl_inode_lower()).

Now with metadata only copy-up, we can have metacopy inode in middle layer
as well and inode containing data can be different from ->lower.  I need to
be able to open the real file in ovl_open_realfile() and for that I need to
quickly find the lower data inode.

Hence store lower data inode also in ovl_inode.  Also provide an helper
ovl_inode_lowerdata() to access this field.

Signed-off-by: Vivek Goyal <vgoyal@redhat.com>
Reviewed-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
2018-07-20 09:56:11 +02:00
..
2018-06-12 16:19:22 -07:00
2018-07-06 23:57:03 +02:00
2018-06-15 07:55:24 +09:00
2018-05-22 14:27:52 -04:00
2018-07-06 23:57:03 +02:00
2018-06-27 20:44:38 -04:00
2018-05-22 14:27:52 -04:00
2018-05-21 14:30:09 -04:00
2018-05-22 14:27:53 -04:00
2018-07-06 23:57:03 +02:00
2018-06-07 17:34:40 -07:00
2018-06-05 19:23:26 +02:00
2018-06-14 20:09:28 -04:00
2018-06-07 17:34:35 -07:00
2018-05-03 16:11:37 -06:00
2018-07-18 15:44:40 +02:00
2018-06-11 08:22:34 -07:00
2018-05-26 09:16:44 +02:00