From: Sage Weil Date: Tue, 31 Jul 2012 18:27:36 +0000 (-0700) Subject: ceph: simplify+fix atomic_open X-Git-Tag: v3.6-rc1~7^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5ef50c3bec20060bc114f62d6503c5d86d70bdd7;p=pandora-kernel.git 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 --- Reading git-diff-tree failed