diff options
author | Oleg Drokin <green@linuxhacker.ru> | 2006-03-25 03:07:02 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-25 08:22:51 -0800 |
commit | 9a56c213929d83139fd1e12727e1037d71b519f8 (patch) | |
tree | 013dd77c7cae23bd8fb821175a0d6fdc35bad9fe /fs/compat_ioctl.c | |
parent | b500531e6f5f234ed267bd7060ee06d144faf0ca (diff) |
[PATCH] Add lookup_instantiate_filp usage warning
I think it would be nice to put an usage warning in header of
lookup_instantiate_filp() to indicate it is unsafe to use it on anything
but regular files (even that is potentially unsafe, but there your ->open()
is usually in your hands anyway), so that others won't fall into the same
trap I did.
Signed-off-by: Oleg Drokin <green@linuxhacker.ru>
Cc: Trond Myklebust <trond.myklebust@fys.uio.no>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/compat_ioctl.c')
0 files changed, 0 insertions, 0 deletions