diff options
author | Sage Weil | 2012-07-31 20:27:36 +0200 |
---|---|---|
committer | Sage Weil | 2012-08-02 18:11:19 +0200 |
commit | 5ef50c3bec20060bc114f62d6503c5d86d70bdd7 (patch) | |
tree | 0777f7c9bef358fe7778e11874a6a750e0d2ceab /mm/bootmem.c | |
parent | Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus (diff) | |
download | kernel-qcow2-linux-5ef50c3bec20060bc114f62d6503c5d86d70bdd7.tar.gz kernel-qcow2-linux-5ef50c3bec20060bc114f62d6503c5d86d70bdd7.tar.xz kernel-qcow2-linux-5ef50c3bec20060bc114f62d6503c5d86d70bdd7.zip |
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 'mm/bootmem.c')
0 files changed, 0 insertions, 0 deletions