aboutsummaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
Diffstat (limited to 'mm')
-rw-r--r--mm/filemap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/filemap.c b/mm/filemap.c
index b9c91ab7f0f8..a92d690b3ae5 100644
--- a/mm/filemap.c
+++ b/mm/filemap.c
@@ -1122,7 +1122,6 @@ success:
1122 desc->arg.buf += size; 1122 desc->arg.buf += size;
1123 return size; 1123 return size;
1124} 1124}
1125EXPORT_SYMBOL_GPL(file_read_actor);
1126 1125
1127/** 1126/**
1128 * __generic_file_aio_read - generic filesystem read routine 1127 * __generic_file_aio_read - generic filesystem read routine
@@ -1184,7 +1183,8 @@ __generic_file_aio_read(struct kiocb *iocb, const struct iovec *iov,
1184 *ppos = pos + retval; 1183 *ppos = pos + retval;
1185 } 1184 }
1186 file_accessed(filp); 1185 file_accessed(filp);
1187 goto out; 1186 if (retval != 0)
1187 goto out;
1188 } 1188 }
1189 1189
1190 retval = 0; 1190 retval = 0;