diff options
Diffstat (limited to 'fs/ufs/super.c')
-rw-r--r-- | fs/ufs/super.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/fs/ufs/super.c b/fs/ufs/super.c index 143c20bfb04b..14743d935a93 100644 --- a/fs/ufs/super.c +++ b/fs/ufs/super.c | |||
@@ -1016,6 +1016,9 @@ magic_found: | |||
1016 | case UFS_FSSTABLE: | 1016 | case UFS_FSSTABLE: |
1017 | UFSD("fs is stable\n"); | 1017 | UFSD("fs is stable\n"); |
1018 | break; | 1018 | break; |
1019 | case UFS_FSLOG: | ||
1020 | UFSD("fs is logging fs\n"); | ||
1021 | break; | ||
1019 | case UFS_FSOSF1: | 1022 | case UFS_FSOSF1: |
1020 | UFSD("fs is DEC OSF/1\n"); | 1023 | UFSD("fs is DEC OSF/1\n"); |
1021 | break; | 1024 | break; |
@@ -1432,6 +1435,11 @@ static void destroy_inodecache(void) | |||
1432 | kmem_cache_destroy(ufs_inode_cachep); | 1435 | kmem_cache_destroy(ufs_inode_cachep); |
1433 | } | 1436 | } |
1434 | 1437 | ||
1438 | static void ufs_clear_inode(struct inode *inode) | ||
1439 | { | ||
1440 | dquot_drop(inode); | ||
1441 | } | ||
1442 | |||
1435 | #ifdef CONFIG_QUOTA | 1443 | #ifdef CONFIG_QUOTA |
1436 | static ssize_t ufs_quota_read(struct super_block *, int, char *,size_t, loff_t); | 1444 | static ssize_t ufs_quota_read(struct super_block *, int, char *,size_t, loff_t); |
1437 | static ssize_t ufs_quota_write(struct super_block *, int, const char *, size_t, loff_t); | 1445 | static ssize_t ufs_quota_write(struct super_block *, int, const char *, size_t, loff_t); |
@@ -1442,6 +1450,7 @@ static const struct super_operations ufs_super_ops = { | |||
1442 | .destroy_inode = ufs_destroy_inode, | 1450 | .destroy_inode = ufs_destroy_inode, |
1443 | .write_inode = ufs_write_inode, | 1451 | .write_inode = ufs_write_inode, |
1444 | .delete_inode = ufs_delete_inode, | 1452 | .delete_inode = ufs_delete_inode, |
1453 | .clear_inode = ufs_clear_inode, | ||
1445 | .put_super = ufs_put_super, | 1454 | .put_super = ufs_put_super, |
1446 | .write_super = ufs_write_super, | 1455 | .write_super = ufs_write_super, |
1447 | .sync_fs = ufs_sync_fs, | 1456 | .sync_fs = ufs_sync_fs, |