Re: [PATCH] Btrfs: fix overhead check for qgroupid in the kernel

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

 



On 02/25/2013 06:30 AM, Wang Shilong wrote:
From: Wang Shilong <wangsl-fnst@xxxxxxxxxxxxxx>

As we implement the strict hierarchy quota in the userspace,
it is sufficient to check this ruler in the userspace.remove
the special check for qgroup 0.

I haven't done any kernel coding so I'm curious, but is this a safe change? When I code, I always have the authoritative code do a check, e.g. in web programing, the browser can do data validation but you always have the web server check incoming data also, so it doesn't hurt to have it in the kernel itself.

The other thing is that it is possible for people and distributions to upgrade the kernel without upgrading the btrfs tools, so there could be a window when there is no check on somebody's system.

Regards,
Blair

--
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