Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
712f6df
)
set fsuid upon readpage.
author
lsy
<lsy>
Tue, 23 Aug 2005 06:26:36 +0000
(06:26 +0000)
committer
lsy
<lsy>
Tue, 23 Aug 2005 06:26:36 +0000
(06:26 +0000)
lustre/llite/rw.c
patch
|
blob
|
history
diff --git
a/lustre/llite/rw.c
b/lustre/llite/rw.c
index
c1cdda9
..
7233a33
100644
(file)
--- a/
lustre/llite/rw.c
+++ b/
lustre/llite/rw.c
@@
-1066,6
+1066,9
@@
int ll_readpage(struct file *filp, struct page *page)
llap = llap_from_page(page, LLAP_ORIGIN_READPAGE);
if (IS_ERR(llap))
GOTO(out, rc = PTR_ERR(llap));
+
+ /* capability need this */
+ llap->llap_fsuid = current->fsuid;
if (ll_i2sbi(inode)->ll_flags & LL_SBI_READAHEAD)
ras_update(ll_i2sbi(inode), &fd->fd_ras, page->index,