[PATCH 0/4] ovl: new mount options lowerdir+,datadir+

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Miklos,

As discussed, here are the patches for the new mount options.

- Only string format is supported
- Legacy lowerdir= cannot be mixed with new lowerdir+,datadir+
- lowerdir+,datadir+ are not escaped
- lowerdir,upperdir,workdir are escaped as always

I did not find a good reason to change escaping of upperdir,workdir.
We can skip escaping when we add support for path format.

Wrote some xfstests [1].

Thanks,
Amir.

[1] https://github.com/amir73il/xfstests/commits/ovl-lowerdir-add

Amir Goldstein (4):
  ovl: remove unused code in lowerdir param parsing
  ovl: store and show the user provided lowerdir mount option
  ovl: refactor layer parsing helpers
  ovl: add support for appending lowerdirs one by one

 fs/overlayfs/params.c | 317 ++++++++++++++++++++++--------------------
 fs/overlayfs/params.h |   1 +
 fs/overlayfs/super.c  |   5 +-
 3 files changed, 173 insertions(+), 150 deletions(-)

-- 
2.34.1




[Index of Archives]     [Linux Filesystems Devel]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux