>From <[email protected]>:

[email protected] has uploaded a new change for review.

  https://review.gerrithub.io/289587

Change subject: Use ext_setquota_args for RQUOTA version 2
......................................................................

Use ext_setquota_args for RQUOTA version 2

rquota_setquota() uses incorrect setquota_args structure
for RQUOTA version 2, resulting in using incorrect values
for setting quota. It should use ext_setquota_args for
reading setquota input arguments for RQUOTA version 2.
Modified rquota_setquota() function to check RQUOTA program
version, and then decide which structure to use to read
setquota input arguments:
- use "arg_rquota_setquota" of structure type
"setquota_args" for RQUOTA version 1
- use "arg_ext_rquota_setquota" of structure type
"ext_setquota_args" for RQUOTA version 2

Change-Id: Ie7c372d52a204a41ed2a0c04680b24202debf8ff
Signed-off-by: Madhu Thorat <[email protected]>
---
M src/Protocols/RQUOTA/rquota_setquota.c
1 file changed, 41 insertions(+), 25 deletions(-)


  git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha 
refs/changes/87/289587/1
-- 
To view, visit https://review.gerrithub.io/289587
To unsubscribe, visit https://review.gerrithub.io/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie7c372d52a204a41ed2a0c04680b24202debf8ff
Gerrit-PatchSet: 1
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Owner: [email protected]

------------------------------------------------------------------------------
_______________________________________________
Nfs-ganesha-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel

Reply via email to