diff options
author | Sage Weil <sage@inktank.com> | 2012-07-31 18:27:36 (GMT) |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2012-08-02 16:11:19 (GMT) |
commit | 5ef50c3bec20060bc114f62d6503c5d86d70bdd7 (patch) | |
tree | 0777f7c9bef358fe7778e11874a6a750e0d2ceab /fs/ceph/addr.c | |
parent | 1a9b4993b70fb1884716902774dc9025b457760d (diff) | |
download | linux-5ef50c3bec20060bc114f62d6503c5d86d70bdd7.tar.xz |
ceph: simplify+fix atomic_open
The initial ->atomic_open op was carried over from the old intent code,
which was incomplete and didn't really work. Replace it with a fresh
method. In particular:
* always attempt to do an atomic open+lookup, both for the create case
and for lookups of existing files.
* fix symlink handling by returning 1 to the VFS so that we can follow
the link to its destination. This fixes a longstanding ceph bug (#2392).
Signed-off-by: Sage Weil <sage@inktank.com>
Diffstat (limited to 'fs/ceph/addr.c')
0 files changed, 0 insertions, 0 deletions