Re: [PATCH 08/45] CIFS: Move unlink code to ops struct

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

 



2012/9/13 Jeff Layton <jlayton@xxxxxxxxxxxxxxx>:
> In fact, now that I look...
>
> The unlink(2) manpage lists EBUSY as a valid return code, but doesn't
> mention ETXTBSY. Perhaps we'd be better off turning that error into
> EBUSY instead of returning it as-is to userspace?

Looks reasonable - nfs code returns -EBUSY too.

> In any case, -ENOSYS just because you can't do a sillyrename seems
> clearly wrong. Better to return either -EBUSY or -ETXTBUSY there.

Ok, will repost this patch.

-- 
Best regards,
Pavel Shilovsky.
--
To unsubscribe from this list: send the line "unsubscribe linux-cifs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux