]> git.hungrycats.org Git - linux/commit
[PATCH] fix file leak in fadvise()
authorAndrew Morton <akpm@digeo.com>
Wed, 9 Apr 2003 04:32:09 +0000 (21:32 -0700)
committerLinus Torvalds <torvalds@home.transmeta.com>
Wed, 9 Apr 2003 04:32:09 +0000 (21:32 -0700)
commit7c32f3a2a3407541c961cff8a066583991297a35
tree8a8e4093b3a719805fc1ef54801971ada18f7b8d
parentecd0bd4a50198728cde0abad62227c193ca2c527
[PATCH] fix file leak in fadvise()

It can miss an fput() if passed the fd of a file which has no ->mapping.
mm/fadvise.c