Re: [PATCH 2/2 v2] fstests: btrfs/219 cloned-device mount capability update

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]




Is it really worth doing this type of change?
I mean it doesn't change the correctness of the test, doesn't make it
more readable or
maintainable, or even shorter... It seems pointless to me, no clear
benefit of any sort.


 It fixes the cleanup bug that, when a test case failed, it failed to
 remove the 2nd loop device.

I'm not suggesting a new test case.

Remember the code you removed in v1?
My suggestion was to instead of removing it, just surround it in the body of an
if statement:

if temp-fsid-feature-not-abailable; then
    run that code you tried to remove in v1
fi

Isn't that a lot simpler and clear?

Alright, I'll maintain the simplicity as mentioned above. Nevertheless,
implementing a thorough check for temp-fsid doesn't add much complexity
either.







[Index of Archives]     [Linux Filesystems Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux