aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc/proc_devtree.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2013-05-04 15:18:53 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2013-05-04 15:18:53 -0400
commitb1983cd897ec06080ec4884989c6a3f1e7ee7dce (patch)
tree2bb86026350b0b7e511cf6578d37c9e43efd59ee /fs/proc/proc_devtree.c
parentfs: remove dentry_lru_prune() (diff)
downloadlinux-dev-b1983cd897ec06080ec4884989c6a3f1e7ee7dce.tar.xz
linux-dev-b1983cd897ec06080ec4884989c6a3f1e7ee7dce.zip
create_mnt_ns: unidiomatic use of list_add()
while list_add(A, B) and list_add(B, A) are equivalent when both A and B are guaranteed to be empty, the usual idiom is list_add(what, where), not the other way round... Not a bug per se, but only by accident and it makes RTFS harder for no good reason. Spotted-by: Rajat Sharma <fs.rajat@gmail.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/proc/proc_devtree.c')
0 files changed, 0 insertions, 0 deletions