mbox series

[0/2] Check the return value of unpin_exten_cache. Cleanup style.

Message ID PAXP193MB2089D736D647D6D2CEF4D6E1A7F19@PAXP193MB2089.EURP193.PROD.OUTLOOK.COM (mailing list archive)
Headers show
Series Check the return value of unpin_exten_cache. Cleanup style. | expand

Message

Siddhartha Menon Dec. 31, 2022, 6:47 p.m. UTC
These patches hopefully fix a bug and cleanup the style.

It seems that in inode.c:3335 the function `unpin_exten_cache` is called but it's
return value is not saved. Therefore the following if statement is checking an
old value of `ret`.

Siddhartha Menon (2):
  Check return value of unpin_exten_cache
  Fix several style errors in fs/btrfs/inode.c

 fs/btrfs/inode.c | 51 +++++++++++++++++++++++++-----------------------
 1 file changed, 27 insertions(+), 24 deletions(-)