Home
last modified time | relevance | path

Searched hist:d29b20cd589128a599e5045d4effc2d7dbc388f5 (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/fs/nfsd/
H A Dxdr4.hdiff d29b20cd589128a599e5045d4effc2d7dbc388f5 Thu Oct 13 14:12:59 CDT 2011 J. Bruce Fields <bfields@redhat.com> nfsd4: clean up open owners on OPEN failure

If process_open1() creates a new open owner, but the open later fails,
the current code will leave the open owner around. It won't be on the
close_lru list, and the client isn't expected to send a CLOSE, so it
will hang around as long as the client does.

Similarly, if process_open1() removes an existing open owner from the
close lru, anticipating that an open owner that previously had no
associated stateid's now will, but the open subsequently fails, then
we'll again be left with the same leak.

Fix both problems.

Reported-by: Bryan Schumaker <bjschuma@netapp.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
H A Dstate.hdiff d29b20cd589128a599e5045d4effc2d7dbc388f5 Thu Oct 13 14:12:59 CDT 2011 J. Bruce Fields <bfields@redhat.com> nfsd4: clean up open owners on OPEN failure

If process_open1() creates a new open owner, but the open later fails,
the current code will leave the open owner around. It won't be on the
close_lru list, and the client isn't expected to send a CLOSE, so it
will hang around as long as the client does.

Similarly, if process_open1() removes an existing open owner from the
close lru, anticipating that an open owner that previously had no
associated stateid's now will, but the open subsequently fails, then
we'll again be left with the same leak.

Fix both problems.

Reported-by: Bryan Schumaker <bjschuma@netapp.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
H A Dnfs4proc.cdiff d29b20cd589128a599e5045d4effc2d7dbc388f5 Thu Oct 13 14:12:59 CDT 2011 J. Bruce Fields <bfields@redhat.com> nfsd4: clean up open owners on OPEN failure

If process_open1() creates a new open owner, but the open later fails,
the current code will leave the open owner around. It won't be on the
close_lru list, and the client isn't expected to send a CLOSE, so it
will hang around as long as the client does.

Similarly, if process_open1() removes an existing open owner from the
close lru, anticipating that an open owner that previously had no
associated stateid's now will, but the open subsequently fails, then
we'll again be left with the same leak.

Fix both problems.

Reported-by: Bryan Schumaker <bjschuma@netapp.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
H A Dnfs4state.cdiff d29b20cd589128a599e5045d4effc2d7dbc388f5 Thu Oct 13 14:12:59 CDT 2011 J. Bruce Fields <bfields@redhat.com> nfsd4: clean up open owners on OPEN failure

If process_open1() creates a new open owner, but the open later fails,
the current code will leave the open owner around. It won't be on the
close_lru list, and the client isn't expected to send a CLOSE, so it
will hang around as long as the client does.

Similarly, if process_open1() removes an existing open owner from the
close lru, anticipating that an open owner that previously had no
associated stateid's now will, but the open subsequently fails, then
we'll again be left with the same leak.

Fix both problems.

Reported-by: Bryan Schumaker <bjschuma@netapp.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>