diff options
Diffstat (limited to 'fs/reiserfs')
| -rw-r--r-- | fs/reiserfs/inode.c | 2 | ||||
| -rw-r--r-- | fs/reiserfs/reiserfs.h | 1 | ||||
| -rw-r--r-- | fs/reiserfs/super.c | 4 |
3 files changed, 4 insertions, 3 deletions
diff --git a/fs/reiserfs/inode.c b/fs/reiserfs/inode.c index ad62bdbb451e..bc8b8009897d 100644 --- a/fs/reiserfs/inode.c +++ b/fs/reiserfs/inode.c | |||
| @@ -35,7 +35,7 @@ void reiserfs_evict_inode(struct inode *inode) | |||
| 35 | if (!inode->i_nlink && !is_bad_inode(inode)) | 35 | if (!inode->i_nlink && !is_bad_inode(inode)) |
| 36 | dquot_initialize(inode); | 36 | dquot_initialize(inode); |
| 37 | 37 | ||
| 38 | truncate_inode_pages(&inode->i_data, 0); | 38 | truncate_inode_pages_final(&inode->i_data); |
| 39 | if (inode->i_nlink) | 39 | if (inode->i_nlink) |
| 40 | goto no_delete; | 40 | goto no_delete; |
| 41 | 41 | ||
diff --git a/fs/reiserfs/reiserfs.h b/fs/reiserfs/reiserfs.h index 8d06adf89948..83d4eac8059a 100644 --- a/fs/reiserfs/reiserfs.h +++ b/fs/reiserfs/reiserfs.h | |||
| @@ -2831,6 +2831,7 @@ void reiserfs_init_alloc_options(struct super_block *s); | |||
| 2831 | */ | 2831 | */ |
| 2832 | __le32 reiserfs_choose_packing(struct inode *dir); | 2832 | __le32 reiserfs_choose_packing(struct inode *dir); |
| 2833 | 2833 | ||
| 2834 | void show_alloc_options(struct seq_file *seq, struct super_block *s); | ||
| 2834 | int reiserfs_init_bitmap_cache(struct super_block *sb); | 2835 | int reiserfs_init_bitmap_cache(struct super_block *sb); |
| 2835 | void reiserfs_free_bitmap_cache(struct super_block *sb); | 2836 | void reiserfs_free_bitmap_cache(struct super_block *sb); |
| 2836 | void reiserfs_cache_bitmap_metadata(struct super_block *sb, struct buffer_head *bh, struct reiserfs_bitmap_info *info); | 2837 | void reiserfs_cache_bitmap_metadata(struct super_block *sb, struct buffer_head *bh, struct reiserfs_bitmap_info *info); |
diff --git a/fs/reiserfs/super.c b/fs/reiserfs/super.c index 2c803353f8ac..9fb20426005e 100644 --- a/fs/reiserfs/super.c +++ b/fs/reiserfs/super.c | |||
| @@ -62,7 +62,6 @@ static int is_any_reiserfs_magic_string(struct reiserfs_super_block *rs) | |||
| 62 | 62 | ||
| 63 | static int reiserfs_remount(struct super_block *s, int *flags, char *data); | 63 | static int reiserfs_remount(struct super_block *s, int *flags, char *data); |
| 64 | static int reiserfs_statfs(struct dentry *dentry, struct kstatfs *buf); | 64 | static int reiserfs_statfs(struct dentry *dentry, struct kstatfs *buf); |
| 65 | void show_alloc_options(struct seq_file *seq, struct super_block *s); | ||
| 66 | 65 | ||
| 67 | static int reiserfs_sync_fs(struct super_block *s, int wait) | 66 | static int reiserfs_sync_fs(struct super_block *s, int wait) |
| 68 | { | 67 | { |
| @@ -597,7 +596,7 @@ static void init_once(void *foo) | |||
| 597 | inode_init_once(&ei->vfs_inode); | 596 | inode_init_once(&ei->vfs_inode); |
| 598 | } | 597 | } |
| 599 | 598 | ||
| 600 | static int init_inodecache(void) | 599 | static int __init init_inodecache(void) |
| 601 | { | 600 | { |
| 602 | reiserfs_inode_cachep = kmem_cache_create("reiser_inode_cache", | 601 | reiserfs_inode_cachep = kmem_cache_create("reiser_inode_cache", |
| 603 | sizeof(struct | 602 | sizeof(struct |
| @@ -1319,6 +1318,7 @@ static int reiserfs_remount(struct super_block *s, int *mount_flags, char *arg) | |||
| 1319 | int i; | 1318 | int i; |
| 1320 | #endif | 1319 | #endif |
| 1321 | 1320 | ||
| 1321 | sync_filesystem(s); | ||
| 1322 | reiserfs_write_lock(s); | 1322 | reiserfs_write_lock(s); |
| 1323 | 1323 | ||
| 1324 | #ifdef CONFIG_QUOTA | 1324 | #ifdef CONFIG_QUOTA |
