"README" did not exist on "a029c1c4cfc68a3a5ffb5279ae4da1c899e0af3f"
Branch HEAD
copy_{to,from}_user() do not return an error code, but rather the number of uncopied bytes (0 if all bytes were copied). Storing this return value into "rc" is misleading because it then seems this should be returned to the caller of the function. Code was audited to remote storing of the return value into "rc" and several incorrect uses were found.
Showing
- lustre/liblustre/super.c 2 additions, 4 deletionslustre/liblustre/super.c
- lustre/llite/dir.c 10 additions, 15 deletionslustre/llite/dir.c
- lustre/llite/file.c 6 additions, 10 deletionslustre/llite/file.c
- lustre/lmv/lmv_obd.c 4 additions, 3 deletionslustre/lmv/lmv_obd.c
- lustre/lov/lov_obd.c 7 additions, 7 deletionslustre/lov/lov_obd.c
- lustre/lov/lov_pack.c 4 additions, 9 deletionslustre/lov/lov_pack.c
- lustre/mgs/mgs_handler.c 8 additions, 12 deletionslustre/mgs/mgs_handler.c
Loading
Please register or sign in to comment