summaryrefslogtreecommitdiff
path: root/fs/overlayfs/overlayfs.h
diff options
context:
space:
mode:
authorAmir Goldstein <amir73il@gmail.com>2018-03-28 20:22:41 +0300
committerMiklos Szeredi <mszeredi@redhat.com>2018-04-12 13:04:50 +0300
commit5148626b806a74dd219f2bce5f204abf909f6930 (patch)
tree6798d7117b093018188fe50c112f4dccaba7fd8c /fs/overlayfs/overlayfs.h
parentda309e8c055de8d6461ae01764a3352c77878735 (diff)
downloadlinux-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