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