OGAWA Hirofumi a96e5b9080 nfsd4: Fix filp leak
23fcf2ec93fb8573a653408316af599939ff9a8e (nfsd4: fix oops on lock failure)

The above patch breaks free path for stp->st_file. If stp was inserted
into sop->so_stateids, we have to free stp->st_file refcount. Because
stp->st_file refcount itself is taken whether or not any refcounts are
taken on the stp->st_file->fi_fds[].

Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Cc: stable@kernel.org
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
2011-04-19 17:31:13 -04:00
..
2011-01-04 18:22:10 -05:00
2008-02-01 16:42:05 -05:00
2011-03-07 12:05:09 -05:00
2010-10-27 21:39:39 +02:00
2007-05-09 12:30:54 -07:00
2011-03-31 11:26:23 -03:00
2011-03-07 12:05:09 -05:00
2011-04-19 17:31:13 -04:00
2011-03-17 13:09:19 -04:00
2011-03-14 20:57:44 -04:00
2009-12-20 20:19:51 -08:00
2011-01-04 16:49:22 -05:00
2011-03-31 11:26:23 -03:00
2010-07-30 12:54:54 -04:00