diff options
author | Bob Peterson <rpeterso@redhat.com> | 2015-12-07 15:13:28 -0600 |
---|---|---|
committer | Bob Peterson <rpeterso@redhat.com> | 2015-12-18 10:52:21 -0600 |
commit | ee530beafeca9826b2086eab053312b182c09669 (patch) | |
tree | ce121efbff68c56d5fca6fbb7f3719461e7d4799 /fs/isofs | |
parent | 86d067a797d4e8546a7c92b985f31e8cd3ec39ad (diff) | |
download | linux-ee530beafeca9826b2086eab053312b182c09669.tar.gz linux-ee530beafeca9826b2086eab053312b182c09669.tar.bz2 linux-ee530beafeca9826b2086eab053312b182c09669.zip |
GFS2: Truncate address space mapping when deleting an inode
In function gfs2_delete_inode() we write and flush the mapping for
a glock, among other things. We truncate the mapping for the inode,
but we never truncate the mapping for the glock. This patch makes it
also truncate the metamapping. This avoid cases where the glock is
reused by another process who is trying to recreate an inode in its
place using the same block.
Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Acked-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/isofs')
0 files changed, 0 insertions, 0 deletions