aboutsummaryrefslogtreecommitdiff
path: root/lib/cpu-notifier-error-inject.c
diff options
context:
space:
mode:
authorKinglong Mee <[email protected]>2015-03-19 19:04:14 +0800
committerJ. Bruce Fields <[email protected]>2015-03-20 12:43:59 -0400
commit6f8f28ec5f88715515e70dd52f16b326a5e63f81 (patch)
treed4e94ea7c71697a35efd24869a4ffe3542e7ef50 /lib/cpu-notifier-error-inject.c
parent715a03d2848275269bd4014a49212cc83452f32d (diff)
NFSD: Check layout type when returning client layouts
According to RFC5661: " When lr_returntype is LAYOUTRETURN4_FSID, the current filehandle is used to identify the file system and all layouts matching the client ID, the fsid of the file system, lora_layout_type, and lora_iomode are returned. When lr_returntype is LAYOUTRETURN4_ALL, all layouts matching the client ID, lora_layout_type, and lora_iomode are returned and the current filehandle is not used. " When returning client layouts, always check layout type. Signed-off-by: Kinglong Mee <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Signed-off-by: J. Bruce Fields <[email protected]>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions