aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/export.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ocfs2/export.c')
-rw-r--r--fs/ocfs2/export.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ocfs2/export.c b/fs/ocfs2/export.c
index 827fc9809bc2..9f88188060db 100644
--- a/fs/ocfs2/export.c
+++ b/fs/ocfs2/export.c
@@ -119,7 +119,7 @@ check_err:
119 119
120 if (IS_ERR(inode)) { 120 if (IS_ERR(inode)) {
121 mlog_errno(PTR_ERR(inode)); 121 mlog_errno(PTR_ERR(inode));
122 result = (void *)inode; 122 result = ERR_CAST(inode);
123 goto bail; 123 goto bail;
124 } 124 }
125 125