]> git.baikalelectronics.ru Git - kernel.git/commit
__dentry_path() fixes
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 26 Jan 2014 17:37:55 +0000 (12:37 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Sun, 26 Jan 2014 17:37:55 +0000 (12:37 -0500)
commitb29d783ad66f7860eed67d2a8a06405f96dbe390
tree681441a4ea0e816d49145c89c63645c677d12ce1
parentd39a77019496b1ddf7bf8f94721a3a10757b7e5f
__dentry_path() fixes

* we need to save the starting point for restarts
* reject pathologically short buffers outright

Spotted-by: Denys Vlasenko <dvlasenk@redhat.com>
Spotted-by: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/dcache.c