perhaps a error in setup_root_args func

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

 



hi All,

In func setup_root_args in fs/btrfs/super.c:
    while (1) {
        sep = strchrnul(args, ',');
        if (!strstarts(args, "subvol=") &&
            !strstarts(args, "subvolid=")) {

I think it should be:
    while (1) {
        sep = strchrnul(args, ',');
        if (!strstarts(args, "subvol=") || <- CHANGE
            !strstarts(args, "subvolid=")) {

Am i right?
I am on linus tree, have not check the btrfs tree cause the code is
being download.

B.R.

JohnGong
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




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

  Powered by Linux