]> arthur.barton.de Git - netatalk.git/blobdiff - libatalk/adouble/ad_conv.c
sys_lsetxattr error messages when mounting read only filesystem
[netatalk.git] / libatalk / adouble / ad_conv.c
index 486b0313594e0e71e17e39f622f43c5b225119af..c68cad45c881aaef42b12fdaf514ee22c319a3ac 100644 (file)
@@ -264,6 +264,9 @@ int ad_convert(const char *path, const struct stat *sp, const struct vol *vol, c
     if (newpath)
         *newpath = NULL;
 
+    if (vol->v_flags & AFPVOL_RO)
+        EC_EXIT_STATUS(0);
+
     if ((vol->v_adouble == AD_VERSION_EA) && !(vol->v_flags & AFPVOL_NOV2TOEACONV))
         EC_ZERO( ad_conv_v22ea(path, sp, vol) );