summaryrefslogtreecommitdiffstats
path: root/fs/coda/sysctl.c
diff options
context:
space:
mode:
authorAmir Goldstein <amir73il@gmail.com>2020-01-14 20:59:22 +0100
committerMiklos Szeredi <mszeredi@redhat.com>2020-01-24 09:46:45 +0100
commit07f1e59637a8e5a8bddba5da7567d46635da510f (patch)
tree8a43de3ec60a68b074dd85e945ccf0d0ce987420 /fs/coda/sysctl.c
parentovl: simplify ovl_same_sb() helper (diff)
downloadlinux-07f1e59637a8e5a8bddba5da7567d46635da510f.tar.xz
linux-07f1e59637a8e5a8bddba5da7567d46635da510f.zip
ovl: generalize the lower_fs[] array
Rename lower_fs[] array to fs[], extend its size by one and use index fsid (instead of fsid-1) to access the fs[] array. Initialize fs[0] with upper fs values. fsid 0 is reserved even with lower only overlay, so fs[0] remains null in this case. Signed-off-by: Amir Goldstein <amir73il@gmail.com> Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'fs/coda/sysctl.c')
0 files changed, 0 insertions, 0 deletions