diff options
author | Ralf Baechle <ralf@linux-mips.org> | 1999-06-13 16:29:25 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 1999-06-13 16:29:25 +0000 |
commit | db7d4daea91e105e3859cf461d7e53b9b77454b2 (patch) | |
tree | 9bb65b95440af09e8aca63abe56970dd3360cc57 /fs/sysv/inode.c | |
parent | 9c1c01ead627bdda9211c9abd5b758d6c687d8ac (diff) |
Merge with Linux 2.2.8.
Diffstat (limited to 'fs/sysv/inode.c')
-rw-r--r-- | fs/sysv/inode.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/fs/sysv/inode.c b/fs/sysv/inode.c index d5af68176..f58560996 100644 --- a/fs/sysv/inode.c +++ b/fs/sysv/inode.c @@ -55,10 +55,8 @@ void sysv_print_inode(struct inode * inode) } #endif -void sysv_put_inode(struct inode *inode) +static void sysv_delete_inode(struct inode *inode) { - if (inode->i_nlink) - return; inode->i_size = 0; sysv_truncate(inode); sysv_free_inode(inode); @@ -68,8 +66,8 @@ void sysv_put_inode(struct inode *inode) static struct super_operations sysv_sops = { sysv_read_inode, sysv_write_inode, - sysv_put_inode, - NULL, /* delete_inode */ + NULL, /* nothing special on put_inode() */ + sysv_delete_inode, sysv_notify_change, sysv_put_super, sysv_write_super, |