Revision 5ef50c3bec20060bc114f62d6503c5d86d70bdd7 authored by Sage Weil on 31 July 2012, 18:27:36 UTC, committed by Sage Weil on 02 August 2012, 16:11:19 UTC
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>
1 parent 1a9b499
History
File Mode Size
Kconfig -rw-r--r-- 1.7 KB
Makefile -rw-r--r-- 199 bytes
balloc.c -rw-r--r-- 27.2 KB
cylinder.c -rw-r--r-- 5.7 KB
dir.c -rw-r--r-- 16.2 KB
file.c -rw-r--r-- 1008 bytes
ialloc.c -rw-r--r-- 9.2 KB
inode.c -rw-r--r-- 25.1 KB
namei.c -rw-r--r-- 7.3 KB
super.c -rw-r--r-- 43.8 KB
swab.h -rw-r--r-- 2.5 KB
symlink.c -rw-r--r-- 1.2 KB
truncate.c -rw-r--r-- 12.7 KB
ufs.h -rw-r--r-- 5.3 KB
ufs_fs.h -rw-r--r-- 34.6 KB
util.c -rw-r--r-- 6.1 KB
util.h -rw-r--r-- 16.4 KB

back to top