projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'mvebu-fixes-5.14-1' of git://git.kernel.org/pub/scm/linux/kernel/git/gclem...
[linux-2.6-microblaze.git]
/
fs
/
cifs
/
file.c
diff --git
a/fs/cifs/file.c
b/fs/cifs/file.c
index
cd10860
..
0a72840
100644
(file)
--- a/
fs/cifs/file.c
+++ b/
fs/cifs/file.c
@@
-4619,7
+4619,7
@@
read_complete:
static int cifs_readpage(struct file *file, struct page *page)
{
- loff_t offset =
(loff_t)page->index << PAGE_SHIFT
;
+ loff_t offset =
page_file_offset(page)
;
int rc = -EACCES;
unsigned int xid;