diff options
| author | Oleg Drokin <green@linuxhacker.ru> | 2006-03-25 14:07:02 +0300 |
|---|---|---|
| committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-25 19:22:51 +0300 |
| commit | 9a56c213929d83139fd1e12727e1037d71b519f8 (patch) | |
| tree | 013dd77c7cae23bd8fb821175a0d6fdc35bad9fe /include/linux | |
| parent | b500531e6f5f234ed267bd7060ee06d144faf0ca (diff) | |
| download | linux-9a56c213929d83139fd1e12727e1037d71b519f8.tar.xz | |
[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 'include/linux')
0 files changed, 0 insertions, 0 deletions
