diff options
author | Tony Luck <tony.luck@intel.com> | 2005-11-07 12:05:22 -0500 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2005-11-07 12:05:22 -0500 |
commit | 0ad3a96f8ad910ecf87a25ec69ed360b284dee2e (patch) | |
tree | 12d292fd58fc0f7a3eb56c89dfc23569f3ab6c00 /fs/hostfs | |
parent | f79b348856fbaf77e4a0c5cb08a808e5879967a9 (diff) | |
parent | 5b2f7ffcb734d3046144dfbd5ac6d76254a9e522 (diff) |
Auto-update from upstream
Diffstat (limited to 'fs/hostfs')
-rw-r--r-- | fs/hostfs/hostfs_kern.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/hostfs/hostfs_kern.c b/fs/hostfs/hostfs_kern.c index dd71131062..a33fb1d913 100644 --- a/fs/hostfs/hostfs_kern.c +++ b/fs/hostfs/hostfs_kern.c | |||
@@ -294,8 +294,7 @@ static void hostfs_delete_inode(struct inode *inode) | |||
294 | 294 | ||
295 | static void hostfs_destroy_inode(struct inode *inode) | 295 | static void hostfs_destroy_inode(struct inode *inode) |
296 | { | 296 | { |
297 | if(HOSTFS_I(inode)->host_filename) | 297 | kfree(HOSTFS_I(inode)->host_filename); |
298 | kfree(HOSTFS_I(inode)->host_filename); | ||
299 | 298 | ||
300 | /*XXX: This should not happen, probably. The check is here for | 299 | /*XXX: This should not happen, probably. The check is here for |
301 | * additional safety.*/ | 300 | * additional safety.*/ |