ceph: implement i_op->atomic_open()
authorMiklos Szeredi <mszeredi@suse.cz>
Tue, 5 Jun 2012 13:10:25 +0000 (15:10 +0200)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 14 Jul 2012 12:33:16 +0000 (16:33 +0400)
commit2d83bde9a16e18eafdc73a3a1f4a8eb110e49672
tree04e2277dba94d252f4b74cf1acb728880b606c2e
parent3819219b592159725069eb16a7a46f58e4ecef32
ceph: implement i_op->atomic_open()

Add an ->atomic_open implementation which replaces the atomic lookup+open+create
operation implemented via ->lookup and ->create operations.

Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
CC: Sage Weil <sage@newdream.net>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/ceph/dir.c
fs/ceph/file.c
fs/ceph/super.h