aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_iface.c
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2009-08-07 14:38:34 -0300
committerChristoph Hellwig <[email protected]>2009-08-07 14:38:34 -0300
commitb36ec0428a06fcbdb67d61e9e664154e5dd9a8c7 (patch)
tree556cb840214cdff185dfd419bed6dc876a58ae01 /net/lapb/lapb_iface.c
parent2e00c97e2c1d2ffc9e26252ca26b237678b0b772 (diff)
xfs: fix freeing of inodes not yet added to the inode cache
When freeing an inode that lost race getting added to the inode cache we must not call into ->destroy_inode, because that would delete the inode that won the race from the inode cache radix tree. This patch uses splits a new xfs_inode_free helper out of xfs_ireclaim and uses that plus __destroy_inode to make sure we really only free the memory allocted for the inode that lost the race, and not mess with the inode cache state. Signed-off-by: Christoph Hellwig <[email protected]> Reviewed-by: Eric Sandeen <[email protected]> Reported-by: Alex Samad <[email protected]> Reported-by: Andrew Randrianasulu <[email protected]> Reported-by: Stephane <[email protected]> Reported-by: Tommy <[email protected]> Reported-by: Miah Gregory <[email protected]> Reported-by: Gabriel Barazer <[email protected]> Reported-by: Leandro Lucarella <[email protected]> Reported-by: Daniel Burr <[email protected]> Reported-by: Nickolay <[email protected]> Reported-by: Michael Guntsche <[email protected]> Reported-by: Dan Carley <[email protected]> Reported-by: Michael Ole Olsen <[email protected]> Reported-by: Michael Weissenbacher <[email protected]> Reported-by: Martin Spott <[email protected]> Reported-by: Christian Kujau <[email protected]> Tested-by: Michael Guntsche <[email protected]> Tested-by: Dan Carley <[email protected]> Tested-by: Christian Kujau <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions