]> asedeno.scripts.mit.edu Git - linux.git/commit
ovl: allow setting max size of redirect
authorMiklos Szeredi <mszeredi@redhat.com>
Fri, 16 Dec 2016 10:02:57 +0000 (11:02 +0100)
committerMiklos Szeredi <mszeredi@redhat.com>
Fri, 16 Dec 2016 10:02:57 +0000 (11:02 +0100)
commit3ea22a71b65b6743a53e286ff4991a06b9d2597c
treea2dc297b25132f5ac1e449dd4b0e7d4322627c4b
parent688ea0e5a0e2278e2fcd0014324ab1ba68e70ad7
ovl: allow setting max size of redirect

Add a module option to allow tuning the max size of absolute redirects.
Default is 256.

Size of relative redirects is naturally limited by the the underlying
filesystem's max filename length (usually 255).

Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
fs/overlayfs/dir.c