STABLE14-linux-unlink-avoid-infrequent-leak-20070222

FIXES 54689

avoid minor leak


(cherry picked from commit 4f86aa379d345c98113bde2169b9d1400dcee89c)
This commit is contained in:
Rainer Toebbicke 2007-04-19 05:10:35 +00:00 committed by Derrick Brashear
parent 3320feb386
commit 99aff77ac9

View File

@ -1091,6 +1091,8 @@ afs_linux_unlink(struct inode *dip, struct dentry *dp)
}
tvc->uncred = credp;
tvc->states |= CUnlinked;
} else {
osi_FreeSmallSpace(__name);
}
AFS_GUNLOCK();