diff options
author | Oleg Drokin <green@linuxhacker.ru> | 2006-03-25 12:07:02 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-25 17:22:51 +0100 |
commit | 9a56c213929d83139fd1e12727e1037d71b519f8 (patch) | |
tree | 013dd77c7cae23bd8fb821175a0d6fdc35bad9fe /init/main.c | |
parent | [PATCH] Introduce FMODE_EXEC file flag (diff) | |
download | linux-9a56c213929d83139fd1e12727e1037d71b519f8.tar.xz linux-9a56c213929d83139fd1e12727e1037d71b519f8.zip |
[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 'init/main.c')
0 files changed, 0 insertions, 0 deletions