summaryrefslogtreecommitdiffstats
path: root/fs/orangefs/orangefs-kernel.h
diff options
context:
space:
mode:
authorMartin Brandenburg <martin@omnibond.com>2016-03-15 16:28:20 +0100
committerMike Marshall <hubcap@omnibond.com>2016-03-23 22:36:14 +0100
commit3c9cf98d7b4f27e4303ea6e67db7f0c343a575b6 (patch)
tree88e392fbcce753bc8770b8b70c779ba4be4d2d09 /fs/orangefs/orangefs-kernel.h
parentorangefs: remove inode->i_lock wrapper (diff)
downloadlinux-3c9cf98d7b4f27e4303ea6e67db7f0c343a575b6.tar.xz
linux-3c9cf98d7b4f27e4303ea6e67db7f0c343a575b6.zip
orangefs: rename orangefs_inode_getattr to orangefs_inode_old_getattr
This is motivated by orangefs_inode_old_getattr's habit of writing over live inodes. Signed-off-by: Martin Brandenburg <martin@omnibond.com> Signed-off-by: Mike Marshall <hubcap@omnibond.com>
Diffstat (limited to 'fs/orangefs/orangefs-kernel.h')
-rw-r--r--fs/orangefs/orangefs-kernel.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/orangefs/orangefs-kernel.h b/fs/orangefs/orangefs-kernel.h
index 784629870717..276685cdf38d 100644
--- a/fs/orangefs/orangefs-kernel.h
+++ b/fs/orangefs/orangefs-kernel.h
@@ -544,7 +544,9 @@ int orangefs_inode_setxattr(struct inode *inode,
size_t size,
int flags);
-int orangefs_inode_getattr(struct inode *inode, __u32 mask, int check);
+int orangefs_inode_old_getattr(struct inode *inode, __u32 mask, int check);
+
+int orangefs_inode_getattr(struct inode *inode, int new, int size);
int orangefs_inode_setattr(struct inode *inode, struct iattr *iattr);