make ->atomic_open() return int
authorAl Viro <viro@zeniv.linux.org.uk>
Fri, 22 Jun 2012 08:39:14 +0000 (12:39 +0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 14 Jul 2012 12:33:35 +0000 (16:33 +0400)
commitd95852777bc8ba6b3ad3397d495c5f9dd8ca8383
tree96e9d8b1d33c4f6f7b5ba5be0fa4fd8f77c7a67f
parent3d8a00d2099ebc6d5a6e95fadaf861709d9919a8
make ->atomic_open() return int

Change of calling conventions:
old new
NULL 1
file 0
ERR_PTR(-ve) -ve

Caller *knows* that struct file *; no need to return it.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
13 files changed:
Documentation/filesystems/Locking
Documentation/filesystems/vfs.txt
fs/9p/vfs_inode.c
fs/9p/vfs_inode_dotl.c
fs/ceph/dir.c
fs/ceph/file.c
fs/ceph/super.h
fs/cifs/cifsfs.h
fs/cifs/dir.c
fs/fuse/dir.c
fs/namei.c
fs/nfs/dir.c
include/linux/fs.h