diff options
author | Amir Goldstein <amir73il@gmail.com> | 2023-06-17 09:05:52 +0300 |
---|---|---|
committer | Amir Goldstein <amir73il@gmail.com> | 2023-06-19 14:02:01 +0300 |
commit | ac519625edf2004fd34f6deec3110b154f621780 (patch) | |
tree | 233c37d0ccea720bcb544eb5a55817a6ef9bdfac /fs/overlayfs/overlayfs.h | |
parent | af5f2396b671c9857b113584d4bd43413b39cfdb (diff) | |
download | linux-ac519625edf2004fd34f6deec3110b154f621780.tar.gz linux-ac519625edf2004fd34f6deec3110b154f621780.tar.bz2 linux-ac519625edf2004fd34f6deec3110b154f621780.zip |
ovl: factor out ovl_parse_options() helper
For parsing a single mount option.
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Diffstat (limited to 'fs/overlayfs/overlayfs.h')
-rw-r--r-- | fs/overlayfs/overlayfs.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/fs/overlayfs/overlayfs.h b/fs/overlayfs/overlayfs.h index 80c10228bd64..30227ccc758d 100644 --- a/fs/overlayfs/overlayfs.h +++ b/fs/overlayfs/overlayfs.h @@ -70,6 +70,14 @@ enum { OVL_XINO_ON, }; +/* The set of options that user requested explicitly via mount options */ +struct ovl_opt_set { + bool metacopy; + bool redirect; + bool nfs_export; + bool index; +}; + /* * The tuple (fh,uuid) is a universal unique identifier for a copy up origin, * where: |