changed pdata == NULL; tested
Merge branch 'fix-ldb_get_fresh_fd' of github.com:pantheon-systems/fusedav into fix-ldb_get_fresh_fd