summaryrefslogtreecommitdiffstats
path: root/fs/lockd
diff options
context:
space:
mode:
authorAl Viro2012-08-01 11:07:04 +0200
committerAl Viro2012-08-01 14:53:16 +0200
commitdbc6e0222d79e78925fe20733844a796a4b72cf9 (patch)
tree49eabccaa420103bd5ecddc2b77bc916440db812 /fs/lockd
parentDocumentation: Correct s_umount state for freeze_fs/unfreeze_fs (diff)
downloadkernel-qcow2-linux-dbc6e0222d79e78925fe20733844a796a4b72cf9.tar.gz
kernel-qcow2-linux-dbc6e0222d79e78925fe20733844a796a4b72cf9.tar.xz
kernel-qcow2-linux-dbc6e0222d79e78925fe20733844a796a4b72cf9.zip
delousing target_core_file a bit
* set_fs(KERNEL_DS) + getname() is probably the weirdest implementation of strdup() I've seen. Especially since they don't to copy it at all... * filp_open() never returns NULL; it's ERR_PTR(-E...) on failure. * file->f_dentry is never going to be NULL, TYVM. * match_strdup() + snprintf() + kfree() is a bloody weird way to spell match_strlcpy(). Pox on cargo-cult programmers... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/lockd')
0 files changed, 0 insertions, 0 deletions