summaryrefslogtreecommitdiffstats
path: root/fs/isofs
diff options
context:
space:
mode:
authorBob Peterson <rpeterso@redhat.com>2015-12-07 15:13:28 -0600
committerBob Peterson <rpeterso@redhat.com>2015-12-18 10:52:21 -0600
commitee530beafeca9826b2086eab053312b182c09669 (patch)
treece121efbff68c56d5fca6fbb7f3719461e7d4799 /fs/isofs
parent86d067a797d4e8546a7c92b985f31e8cd3ec39ad (diff)
downloadlinux-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