]> git.baikalelectronics.ru Git - kernel.git/commit
mm: Fix comment before truncate_setsize()
authorJan Kara <jack@suse.cz>
Thu, 6 Nov 2014 21:29:25 +0000 (08:29 +1100)
committerDave Chinner <david@fromorbit.com>
Thu, 6 Nov 2014 21:29:25 +0000 (08:29 +1100)
commita0f26032e9384fcdb8fe871b0117ad374a978d16
tree5d8eed71173edc1dc005af5e2dc3136ce5512e72
parentc990848eddcf02795ee532f8315899dbcc424af1
mm: Fix comment before truncate_setsize()

XFS doesn't always hold i_mutex when calling truncate_setsize() and it
uses a different lock to serialize truncates and writes. So fix the
comment before truncate_setsize().

Reported-by: Jan Beulich <JBeulich@suse.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Dave Chinner <david@fromorbit.com>
mm/truncate.c