From c7fc24dc4420057f103afe8fc64524ebc25c5d37 Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Tue, 25 Aug 1998 09:12:35 +0000 Subject: o Merge with Linux 2.1.116. o New Newport console code. o New G364 console code. --- fs/affs/inode.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'fs/affs/inode.c') diff --git a/fs/affs/inode.c b/fs/affs/inode.c index 9dc72d6e0..55243ab83 100644 --- a/fs/affs/inode.c +++ b/fs/affs/inode.c @@ -255,6 +255,8 @@ affs_put_inode(struct inode *inode) { pr_debug("AFFS: put_inode(ino=%lu, nlink=%u)\n", inode->i_ino,inode->i_nlink); + + affs_free_prealloc(inode); if (inode->i_count == 1) { unsigned long cache_page = (unsigned long) inode->u.affs_i.i_ec; if (cache_page) { @@ -324,6 +326,11 @@ affs_new_inode(const struct inode *dir) return inode; } +/* + * Add an entry to a directory. Create the header block + * and insert it into the hash table. + */ + int affs_add_entry(struct inode *dir, struct inode *link, struct inode *inode, struct dentry *dentry, int type) -- cgit v1.2.3