aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-06-22 04:39:14 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2012-07-14 08:33:35 -0400
commitd95852777bc8ba6b3ad3397d495c5f9dd8ca8383 (patch)
tree96e9d8b1d33c4f6f7b5ba5be0fa4fd8f77c7a67f /include
parent3d8a00d2099ebc6d5a6e95fadaf861709d9919a8 (diff)
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>
Diffstat (limited to 'include')
-rw-r--r--include/linux/fs.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h
index a7618cf28d0e..33bda922988a 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -1694,9 +1694,9 @@ struct inode_operations {
1694 int (*fiemap)(struct inode *, struct fiemap_extent_info *, u64 start, 1694 int (*fiemap)(struct inode *, struct fiemap_extent_info *, u64 start,
1695 u64 len); 1695 u64 len);
1696 int (*update_time)(struct inode *, struct timespec *, int); 1696 int (*update_time)(struct inode *, struct timespec *, int);
1697 struct file * (*atomic_open)(struct inode *, struct dentry *, 1697 int (*atomic_open)(struct inode *, struct dentry *,
1698 struct opendata *, unsigned open_flag, 1698 struct opendata *, unsigned open_flag,
1699 umode_t create_mode, int *opened); 1699 umode_t create_mode, int *opened);
1700} ____cacheline_aligned; 1700} ____cacheline_aligned;
1701 1701
1702struct seq_file; 1702struct seq_file;