On 04/08/2010 06:52 AM, Chris Mason wrote:
>        But either in that case too returning ENOTEMPTY does confuse a
>  user a lot. Isn't it valid
>        just by returning EPERM will explain a lot to users saying that
>  this is a snapshot of a
>        subvolume or a parent subvolume which is not supposed to be
>  deleted this way.
Good point, eperm might be more intuitive.

-chris
Thanks a lot for the inputs sent a patch for that.

Regards

--
Harshavardhana
http://www.gluster.com

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

Reply via email to