super.c (35858adbfca13678af99fb31618ef4428d6dedb0) | super.c (257ba15cedf1288f0c96118d7e63947231d27278) |
---|---|
1/* 2 * linux/fs/ufs/super.c 3 * 4 * Copyright (C) 1998 5 * Daniel Pirkl <daniel.pirkl@email.cz> 6 * Charles University, Faculty of Mathematics and Physics 7 */ 8 --- 1418 unchanged lines hidden (view full) --- 1427 return 0; 1428} 1429 1430static void destroy_inodecache(void) 1431{ 1432 kmem_cache_destroy(ufs_inode_cachep); 1433} 1434 | 1/* 2 * linux/fs/ufs/super.c 3 * 4 * Copyright (C) 1998 5 * Daniel Pirkl <daniel.pirkl@email.cz> 6 * Charles University, Faculty of Mathematics and Physics 7 */ 8 --- 1418 unchanged lines hidden (view full) --- 1427 return 0; 1428} 1429 1430static void destroy_inodecache(void) 1431{ 1432 kmem_cache_destroy(ufs_inode_cachep); 1433} 1434 |
1435static void ufs_clear_inode(struct inode *inode) 1436{ 1437 vfs_dq_drop(inode); 1438} 1439 |
|
1435#ifdef CONFIG_QUOTA 1436static ssize_t ufs_quota_read(struct super_block *, int, char *,size_t, loff_t); 1437static ssize_t ufs_quota_write(struct super_block *, int, const char *, size_t, loff_t); 1438#endif 1439 1440static const struct super_operations ufs_super_ops = { 1441 .alloc_inode = ufs_alloc_inode, 1442 .destroy_inode = ufs_destroy_inode, 1443 .write_inode = ufs_write_inode, 1444 .delete_inode = ufs_delete_inode, | 1440#ifdef CONFIG_QUOTA 1441static ssize_t ufs_quota_read(struct super_block *, int, char *,size_t, loff_t); 1442static ssize_t ufs_quota_write(struct super_block *, int, const char *, size_t, loff_t); 1443#endif 1444 1445static const struct super_operations ufs_super_ops = { 1446 .alloc_inode = ufs_alloc_inode, 1447 .destroy_inode = ufs_destroy_inode, 1448 .write_inode = ufs_write_inode, 1449 .delete_inode = ufs_delete_inode, |
1450 .clear_inode = ufs_clear_inode, |
|
1445 .put_super = ufs_put_super, 1446 .write_super = ufs_write_super, 1447 .sync_fs = ufs_sync_fs, 1448 .statfs = ufs_statfs, 1449 .remount_fs = ufs_remount, 1450 .show_options = ufs_show_options, 1451#ifdef CONFIG_QUOTA 1452 .quota_read = ufs_quota_read, --- 134 unchanged lines hidden --- | 1451 .put_super = ufs_put_super, 1452 .write_super = ufs_write_super, 1453 .sync_fs = ufs_sync_fs, 1454 .statfs = ufs_statfs, 1455 .remount_fs = ufs_remount, 1456 .show_options = ufs_show_options, 1457#ifdef CONFIG_QUOTA 1458 .quota_read = ufs_quota_read, --- 134 unchanged lines hidden --- |