/* * linux/fs/ext4/truncate.h * * Common inline functions needed for truncate support */ /* * Truncate blocks that were not used by write. We have to truncate the * pagecache as well so that corresponding buffers get properly unmapped. */
static inline void ext4_truncate_failed_write(struct inode *inode) { down_write(&EXT4_I(inode)->i_mmap_sem); truncate_inode_pages(inode->i_mapping, inode->i_size); ext4_truncate(inode); up_write(&EXT4_I(inode)->i_mmap_sem); }Contributors
Person | Tokens | Prop | Commits | CommitProp | |
theodore tso | theodore tso | 28 | 56.00% | 1 | 50.00% |
jan kara | jan kara | 22 | 44.00% | 1 | 50.00% |
Total | 50 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
theodore tso | theodore tso | 64 | 100.00% | 1 | 100.00% |
Total | 64 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
theodore tso | theodore tso | 95 | 81.20% | 1 | 50.00% |
jan kara | jan kara | 22 | 18.80% | 1 | 50.00% |
Total | 117 | 100.00% | 2 | 100.00% |