]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
ovl: check namelen
authorMiklos Szeredi <mszeredi@redhat.com>
Fri, 16 Dec 2016 10:02:56 +0000 (11:02 +0100)
committerMiklos Szeredi <mszeredi@redhat.com>
Fri, 16 Dec 2016 10:02:56 +0000 (11:02 +0100)
commit6b2d5fe46fa8f4fc1c5262c73930b9a2a94db2e3
tree1a4992b61001040deba77869064b265ef433f143
parentbbb1e54dd53cf83863e856dd5518ce5e58791115
ovl: check namelen

We already calculate f_namelen in statfs as the maximum of the name lengths
provided by the filesystems taking part in the overlay.

Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
fs/overlayfs/namei.c
fs/overlayfs/ovl_entry.h
fs/overlayfs/super.c