Jeff Layton
94ae1db226
nfsd: fix fi_delegees leak when fi_had_conflict returns true
...
Currently, nfs4_set_delegation takes a reference to an existing
delegation and then checks to see if there is a conflict. If there is
one, then it doesn't release that reference.
Change the code to take the reference after the check and only if there
is no conflict.
Signed-off-by: Jeff Layton <jlayton@primarydata.com>
Cc: stable@vger.kernel.org
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
2015-01-07 13:38:21 -05:00
..
2014-07-08 17:14:27 -04:00
2014-07-17 16:15:35 -04:00
2013-02-13 06:15:51 -08:00
2014-08-17 12:00:12 -04:00
2012-02-15 11:20:45 -05:00
2014-08-18 15:12:14 -04:00
2014-06-23 11:31:36 -04:00
2014-08-05 10:55:10 -04:00
2014-05-28 14:52:34 -04:00
2014-09-17 16:33:11 -04:00
2011-07-15 18:58:42 -04:00
2011-11-07 21:10:47 -05:00
2014-08-05 16:09:20 -04:00
2014-07-11 15:03:53 -04:00
2014-07-11 15:03:53 -04:00
2014-08-18 15:12:14 -04:00
2014-06-23 11:31:36 -04:00
2014-07-11 15:03:53 -04:00
2014-11-19 15:45:44 -05:00
2014-09-03 17:43:03 -04:00
2014-12-09 11:22:21 -05:00
2014-11-19 13:01:23 -05:00
2015-01-07 13:38:21 -05:00
2014-12-16 15:25:31 -08:00
2014-12-09 11:21:20 -05:00
2014-12-16 15:25:31 -08:00
2014-11-19 12:03:19 -05:00
2014-12-09 11:21:20 -05:00
2014-06-23 11:31:37 -04:00
2014-07-29 23:08:38 -04:00
2014-12-09 11:22:20 -05:00
2014-06-23 11:31:36 -04:00
2014-11-07 16:56:11 -05:00
2014-05-06 17:54:55 -04:00
2014-05-06 17:54:55 -04:00
2014-12-16 15:25:31 -08:00
2014-12-16 15:25:31 -08:00
2014-01-23 13:50:27 -05:00
2014-11-07 16:20:15 -05:00
2013-04-09 16:53:56 -04:00
2013-02-26 02:46:09 -05:00