Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
This commit is contained in:
Matthew Wilcox 2014-03-24 15:15:07 -04:00 коммит произвёл Theodore Ts'o
Родитель 94350ab5c3
Коммит e04027e887
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -3698,7 +3698,7 @@ void ext4_truncate(struct inode *inode)
/*
* There is a possibility that we're either freeing the inode
* or it completely new indode. In those cases we might not
* or it's a completely new inode. In those cases we might not
* have i_mutex locked because it's not necessary.
*/
if (!(inode->i_state & (I_NEW|I_FREEING)))