summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorAl Viro <viro@ZenIV.linux.org.uk>2016-12-04 18:33:17 +0100
committerMiklos Szeredi <mszeredi@redhat.com>2016-12-16 11:02:57 +0100
commit32a3d848eb91a298334991f1891e12e0362f91db (patch)
tree693bf24282b44846903e45ff0ac165d8ef76e218 /arch
parentovl: fold ovl_copy_up_truncate() into ovl_copy_up() (diff)
downloadlinux-32a3d848eb91a298334991f1891e12e0362f91db.tar.xz
linux-32a3d848eb91a298334991f1891e12e0362f91db.zip
ovl: clean up kstat usage
FWIW, there's a bit of abuse of struct kstat in overlayfs object creation paths - for one thing, it ends up with a very small subset of struct kstat (mode + rdev), for another it also needs link in case of symlinks and ends up passing it separately. IMO it would be better to introduce a separate object for that. In principle, we might even lift that thing into general API and switch ->mkdir()/->mknod()/->symlink() to identical calling conventions. Hell knows, perhaps ->create() as well... Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions