diff options
author | Jan Kara | 2012-05-03 14:48:02 +0200 |
---|---|---|
committer | Fengguang Wu | 2012-05-06 07:43:41 +0200 |
commit | dbd5768f87ff6fb0a4fe09c4d7b6c4a24de99430 (patch) | |
tree | 42ea94ea733538f797aa745945fc43c4d1b89217 /fs/ext2 | |
parent | vfs: Move waiting for inode writeback from end_writeback() to evict_inode() (diff) | |
download | kernel-qcow2-linux-dbd5768f87ff6fb0a4fe09c4d7b6c4a24de99430.tar.gz kernel-qcow2-linux-dbd5768f87ff6fb0a4fe09c4d7b6c4a24de99430.tar.xz kernel-qcow2-linux-dbd5768f87ff6fb0a4fe09c4d7b6c4a24de99430.zip |
vfs: Rename end_writeback() to clear_inode()
After we moved inode_sync_wait() from end_writeback() it doesn't make sense
to call the function end_writeback() anymore. Rename it to clear_inode()
which well says what the function really does - set I_CLEAR flag.
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Diffstat (limited to 'fs/ext2')
-rw-r--r-- | fs/ext2/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext2/inode.c b/fs/ext2/inode.c index 740cad8dcd8d..37b8bf606f45 100644 --- a/fs/ext2/inode.c +++ b/fs/ext2/inode.c @@ -90,7 +90,7 @@ void ext2_evict_inode(struct inode * inode) } invalidate_inode_buffers(inode); - end_writeback(inode); + clear_inode(inode); ext2_discard_reservation(inode); rsv = EXT2_I(inode)->i_block_alloc_info; |