diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2018-06-08 18:17:54 +0300 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2018-07-11 06:29:03 +0300 |
commit | b4e7a7a88b5d060650094b8d3454bc521d669f6a (patch) | |
tree | 296ceffb3c79d53906b23a244f432cb6ad40472a /fs/file_table.c | |
parent | 877f919e192a09e77962a13d7165783027dee5fd (diff) | |
download | linux-b4e7a7a88b5d060650094b8d3454bc521d669f6a.tar.xz |
drm_mode_create_lease_ioctl(): fix open-coded filp_clone_open()
Failure of ->open() should *not* be followed by fput(). Fixed by
using filp_clone_open(), which gets the cleanups right.
Cc: stable@vger.kernel.org
Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/file_table.c')
0 files changed, 0 insertions, 0 deletions