Re: [PATCH] tests: add btrfs mount tests (fails!)

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

 



On Thu, Feb 11, 2016 at 05:34:27PM +0100, Stanislav Brabec wrote:
> Stanislav Brabec wrote:
> >I am working on a subtest that will trigger it inside the test suite.
> >
> >I already have a possible fix for it, but I want to confirm that it is
> >correct before sending it upstream.
> >
> I just have a reproducer of the new problem.
> 
> The newly found problem is not btrfs speficic:
> 
> echo "/ext4.img /ext4_mnt1 auto loop 0 0" >>/etc/fstab
> mount -a
> echo "/ext4.img /ext4_mnt2 auto loop 0 0" >>/etc/fstab
> mount -a
> mount
> umount /ext4_mnt1 /ext4_mnt2
> sed -i /ext4.img/d /etc/fstab
> 
> Result:
> Nothing was mounted into /ext4_mnt2
> 
> (This is the problem with loop files in fstab, which I mentioned in my past
> mails, but was not able to reproduce.)

Fixed. There was "break" rather than "continue" in the mnt_table_is_fs_mounted().

    Karel

-- 
 Karel Zak  <kzak@xxxxxxxxxx>
 http://karelzak.blogspot.com
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux