diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2010-06-07 14:34:48 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2010-08-09 16:48:37 -0400 |
commit | b57922d97fd6f79b6dbe6db0c4fd30d219fa08c1 (patch) | |
tree | 1d39e9cd8e1c1f502fb7e985a08286859c69aa36 /fs/binfmt_misc.c | |
parent | 45321ac54316eaeeebde0b5f728a1791e500974c (diff) |
convert remaining ->clear_inode() to ->evict_inode()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/binfmt_misc.c')
-rw-r--r-- | fs/binfmt_misc.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/binfmt_misc.c b/fs/binfmt_misc.c index c4e83537ead7..9e60fd201716 100644 --- a/fs/binfmt_misc.c +++ b/fs/binfmt_misc.c | |||
@@ -502,8 +502,9 @@ static struct inode *bm_get_inode(struct super_block *sb, int mode) | |||
502 | return inode; | 502 | return inode; |
503 | } | 503 | } |
504 | 504 | ||
505 | static void bm_clear_inode(struct inode *inode) | 505 | static void bm_evict_inode(struct inode *inode) |
506 | { | 506 | { |
507 | end_writeback(inode); | ||
507 | kfree(inode->i_private); | 508 | kfree(inode->i_private); |
508 | } | 509 | } |
509 | 510 | ||
@@ -685,7 +686,7 @@ static const struct file_operations bm_status_operations = { | |||
685 | 686 | ||
686 | static const struct super_operations s_ops = { | 687 | static const struct super_operations s_ops = { |
687 | .statfs = simple_statfs, | 688 | .statfs = simple_statfs, |
688 | .clear_inode = bm_clear_inode, | 689 | .evict_inode = bm_evict_inode, |
689 | }; | 690 | }; |
690 | 691 | ||
691 | static int bm_fill_super(struct super_block * sb, void * data, int silent) | 692 | static int bm_fill_super(struct super_block * sb, void * data, int silent) |