Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LU-14696 llite: check read only mount for setquota
[fs/lustre-release.git]
/
lustre
/
llite
/
llite_lib.c
diff --git
a/lustre/llite/llite_lib.c
b/lustre/llite/llite_lib.c
index
fec9d10
..
906b530
100644
(file)
--- a/
lustre/llite/llite_lib.c
+++ b/
lustre/llite/llite_lib.c
@@
-2342,7
+2342,7
@@
static int ll_statfs_project(struct inode *inode, struct kstatfs *sfs)
int ret;
qctl.qc_id = ll_i2info(inode)->lli_projid;
- ret = quotactl_ioctl(
ll_i2sbi(inode)
, &qctl);
+ ret = quotactl_ioctl(
inode->i_sb
, &qctl);
if (ret) {
/* ignore errors if project ID does not have
* a quota limit or feature unsupported.