diff options
Diffstat (limited to 'fs')
-rw-r--r-- | fs/gfs2/ops_super.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/ops_super.c b/fs/gfs2/ops_super.c index a3c2272e7cad..2fd1dcbcc5b7 100644 --- a/fs/gfs2/ops_super.c +++ b/fs/gfs2/ops_super.c | |||
@@ -714,7 +714,7 @@ out_unlock: | |||
714 | gfs2_glock_dq(&ip->i_iopen_gh); | 714 | gfs2_glock_dq(&ip->i_iopen_gh); |
715 | gfs2_holder_uninit(&ip->i_iopen_gh); | 715 | gfs2_holder_uninit(&ip->i_iopen_gh); |
716 | gfs2_glock_dq_uninit(&gh); | 716 | gfs2_glock_dq_uninit(&gh); |
717 | if (error && error != GLR_TRYFAILED) | 717 | if (error && error != GLR_TRYFAILED && error != -EROFS) |
718 | fs_warn(sdp, "gfs2_delete_inode: %d\n", error); | 718 | fs_warn(sdp, "gfs2_delete_inode: %d\n", error); |
719 | out: | 719 | out: |
720 | truncate_inode_pages(&inode->i_data, 0); | 720 | truncate_inode_pages(&inode->i_data, 0); |