diff options
author | Amir Goldstein <amir73il@gmail.com> | 2018-03-28 20:22:41 +0300 |
---|---|---|
committer | Miklos Szeredi <mszeredi@redhat.com> | 2018-04-12 13:04:50 +0300 |
commit | 5148626b806a74dd219f2bce5f204abf909f6930 (patch) | |
tree | 6798d7117b093018188fe50c112f4dccaba7fd8c /fs/overlayfs/overlayfs.h | |
parent | da309e8c055de8d6461ae01764a3352c77878735 (diff) | |
download | linux-5148626b806a74dd219f2bce5f204abf909f6930.tar.xz |
ovl: allocate anon bdev per unique lower fs
Instead of allocating an anonymous bdev per lower layer, allocate
one anonymous bdev per every unique lower fs that is different than
upper fs.
Every unique lower fs is assigned an fsid > 0 and the number of
unique lower fs are stored in ofs->numlowerfs.
The assigned fsid is stored in the lower layer struct and will be
used also for inode number multiplexing.
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'fs/overlayfs/overlayfs.h')
0 files changed, 0 insertions, 0 deletions