diff options
author | Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> | 2019-01-01 12:54:26 +0300 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2019-01-02 20:28:37 +0300 |
commit | 125892edfe69915a227d8d125ff0e1cd713178f4 (patch) | |
tree | 0293f1361d4c062211c3ce777806ee6c986add4c /Documentation/livepatch | |
parent | 8e143b90e4d45cca3dc53760d3cfab988bc74571 (diff) | |
download | linux-125892edfe69915a227d8d125ff0e1cd713178f4.tar.xz |
inotify: Fix fd refcount leak in inotify_add_watch().
Commit 4d97f7d53da7dc83 ("inotify: Add flag IN_MASK_CREATE for
inotify_add_watch()") forgot to call fdput() before bailing out.
Fixes: 4d97f7d53da7dc83 ("inotify: Add flag IN_MASK_CREATE for inotify_add_watch()")
CC: stable@vger.kernel.org
Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Reviewed-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'Documentation/livepatch')
0 files changed, 0 insertions, 0 deletions