xfs: Fix the return value of xfs_rtcopy_summary()
PATCH v3 1/1 xfs: Fix the return value of xfs_rtcopy_summary()
xfs_rtcopy_summary() should return the appropriate error code instead of always returning 0. The caller of this function which is xfs_growfs_rt_bmblock() is already handling the error.
--- fs/xfs/xfs_rtalloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
fs/xfs/xfs_rtalloc.c +1 -1
@@ -126,7 +126,7 @@ xfs_rtcopy_summary( error =0 ; out:xfs_rtbuf_cache_relse (oargs); -return 0 ; +return error; }/* * Mark an extent specified by start and len allocated.
Signature · 1 line
2.43.5
Quoted 8 lines · Nirjhar Roy (IBM)
xfs_rtcopy_summary()should return the appropriate error code instead of always returning 0. The caller of this function which isxfs_growfs_rt_bmblock()is already handling the error.Fixes e94b53ff699c ("xfs: cache last bitmap block in realtime allocator")Signed-off-by Nirjhar Roy (IBM) <[email protected]>Reviewed-by "Darrick J. Wong" <[email protected]>Cc <[email protected]> # v6.7
Looks good:
Quoted 5 lines · Christoph Hellwig
Quoted 4 lines · Nirjhar Roy (IBM)
xfs_rtcopy_summary()should return the appropriate error code instead of always returning 0. The caller of this function which isxfs_growfs_rt_bmblock()is already handling the error.
Quoted 7 lines
Quoted 4 lines
Fixes e94b53ff699c ("xfs: cache last bitmap block in realtime allocator")Signed-off-by Nirjhar Roy (IBM) <[email protected]>Reviewed-by "Darrick J. Wong" <[email protected]>Cc <[email protected]> # v6.7Looks good:
Reviewed-by Christoph Hellwig <[email protected]>
Hi Carlos,
Are this and [1] getting picked up?
[1] https://lore.kernel.org/all/[email protected]/
--NR
Quoted 1 line
Signature · 3 lines
Nirjhar Roy Linux Kernel Developer IBM, Bangalore
Carlos Maiolino
maintainerQuoted 13 lines · Nirjhar Roy (IBM)
Quoted 11 lines · Christoph Hellwig
Quoted 8 lines · Nirjhar Roy (IBM)
xfs_rtcopy_summary()should return the appropriate error code instead of always returning 0. The caller of this function which isxfs_growfs_rt_bmblock()is already handling the error.Fixes e94b53ff699c ("xfs: cache last bitmap block in realtime allocator")Signed-off-by Nirjhar Roy (IBM) <[email protected]>Reviewed-by "Darrick J. Wong" <[email protected]>Cc <[email protected]> # v6.7Looks good:
Quoted 7 lines
Quoted 1 line
Reviewed-by Christoph Hellwig <[email protected]>Hi Carlos,
Are this and [1] getting picked up?
Hello.
I can't find a new version on my mbox. Christoph asked you to fix the commit log on the patch you mentioned.
If you sent a new version and I missed it, please let me know.
Carlos
Quoted 10 lines
--NR
Quoted 1 line
Signature · 3 lines
Nirjhar Roy Linux Kernel Developer IBM, Bangalore
Quoted 18 lines · Carlos Maiolino
Quoted 17 lines · Nirjhar Roy (IBM)
Quoted 5 lines · Christoph Hellwig
Quoted 4 lines · Nirjhar Roy (IBM)
xfs_rtcopy_summary()should return the appropriate error code instead of always returning 0. The caller of this function which isxfs_growfs_rt_bmblock()is already handling the error.Quoted 7 lines
Quoted 4 lines
Fixes e94b53ff699c ("xfs: cache last bitmap block in realtime allocator")Signed-off-by Nirjhar Roy (IBM) <[email protected]>Reviewed-by "Darrick J. Wong" <[email protected]>Cc <[email protected]> # v6.7Looks good:
Reviewed-by Christoph Hellwig <[email protected]>Hi Carlos,
Are this and [1] getting picked up?
Quoted 7 lines
Quoted 1 line
Hello.
I can't find a new version on my mbox. Christoph asked you to fix the commit log on the patch you mentioned.
If you sent a new version and I missed it, please let me know.
Sorry, I have re-sent it now [1]. Anything about [2]?
[2] https://lore.kernel.org/all/[email protected]/
--NR
Quoted 11 lines
Carlos
Quoted 8 lines
--NR
Signature · 3 lines
Nirjhar Roy Linux Kernel Developer IBM, Bangalore
Signature · 3 lines
Nirjhar Roy Linux Kernel Developer IBM, Bangalore
Carlos Maiolino
maintainerQuoted 21 lines · Nirjhar Roy (IBM)
Quoted 19 lines · Carlos Maiolino
Quoted 18 lines · Nirjhar Roy (IBM)
Quoted 5 lines · Christoph Hellwig
Quoted 4 lines · Nirjhar Roy (IBM)
xfs_rtcopy_summary()should return the appropriate error code instead of always returning 0. The caller of this function which isxfs_growfs_rt_bmblock()is already handling the error.Quoted 7 lines
Quoted 4 lines
Fixes e94b53ff699c ("xfs: cache last bitmap block in realtime allocator")Signed-off-by Nirjhar Roy (IBM) <[email protected]>Reviewed-by "Darrick J. Wong" <[email protected]>Cc <[email protected]> # v6.7Looks good:
Reviewed-by Christoph Hellwig <[email protected]>Hi Carlos,
Are this and [1] getting picked up?
Quoted 8 lines
Quoted 6 lines
Hello.
I can't find a new version on my mbox. Christoph asked you to fix the commit log on the patch you mentioned.
If you sent a new version and I missed it, please let me know.
Sorry, I have re-sent it now [1]. Anything about [2]?
I think think it slipped through the cracks, could you please re-send it? I'll pick both this week.
Carlos
Quoted 23 lines
[2] https://lore.kernel.org/all/[email protected]/
--NR
Quoted 10 lines
Carlos
Quoted 8 lines
--NR
Signature · 3 lines
Nirjhar Roy Linux Kernel Developer IBM, BangaloreSignature · 3 lines
Nirjhar Roy Linux Kernel Developer IBM, Bangalore
Quoted 23 lines · Carlos Maiolino
Quoted 22 lines · Nirjhar Roy (IBM)
Quoted 21 lines · Carlos Maiolino
Quoted 10 lines · Nirjhar Roy (IBM)
Quoted 9 lines · Christoph Hellwig
Quoted 8 lines · Nirjhar Roy (IBM)
xfs_rtcopy_summary()should return the appropriate error code instead of always returning 0. The caller of this function which isxfs_growfs_rt_bmblock()is already handling the error.Fixes e94b53ff699c ("xfs: cache last bitmap block in realtime allocator")Signed-off-by Nirjhar Roy (IBM) <[email protected]>Reviewed-by "Darrick J. Wong" <[email protected]>Cc <[email protected]> # v6.7Quoted 8 lines
Quoted 3 lines
Looks good:
Reviewed-by Christoph Hellwig <[email protected]>Hi Carlos,
Are this and [1] getting picked up?
Hello.
Quoted 7 lines
Quoted 5 lines
Quoted 4 lines
I can't find a new version on my mbox. Christoph asked you to fix the commit log on the patch you mentioned.
If you sent a new version and I missed it, please let me know.
Sorry, I have re-sent it now [1]. Anything about [2]?
I think think it slipped through the cracks, could you please re-send it? I'll pick both this week.
Sure, no problem. I have re-sent both [1] and [2].
--NR
Quoted 24 lines
Carlos
Quoted 21 lines
[2] https://lore.kernel.org/all/[email protected]/
--NR
Quoted 9 lines
Carlos
Quoted 8 lines
--NR
Signature · 3 lines
Nirjhar Roy Linux Kernel Developer IBM, BangaloreSignature · 3 lines
Nirjhar Roy Linux Kernel Developer IBM, Bangalore
Signature · 3 lines
Nirjhar Roy Linux Kernel Developer IBM, Bangalore