Re: [PATCH] vfs: fix propagation of atomic_open create error on negative dentry

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

 



Sage Weil <sage@xxxxxxxxxxx> writes:

> Hi Miklos,
>
> I found some time to track down the O_CREAT error code issue.  Patch is 
> below.  Does this look correct?
>
> I was reproducing with
>
>  ceph-fuse mnt
>  mkdir -p mnt/a
>  cd mnt
>  .../pjd-fstest-20080816/fstest -u 65534 -g 65534 open a/foo O_RDONLY,O_CREAT 0644
>
> EACCES is expected, ENOENT was returned instead.

I don't quite undersdand what is happending here.

Why does ceph-fuse return ENOENT here?  Returning ENOENT for O_CREAT
only makes sense if the parent directory doesn't exist, but that's not
the case here.

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


[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux