summaryrefslogtreecommitdiffstats
path: root/fs/orangefs/orangefs-kernel.h
diff options
context:
space:
mode:
authorMartin Brandenburg <martin@omnibond.com>2016-03-14 21:59:38 +0100
committerMike Marshall <hubcap@omnibond.com>2016-03-23 22:36:13 +0100
commitd57521a653e7ac2e8edaabfff202caf87c61f08a (patch)
treea7bddb5f886c9e426b7da1a75af617893f3a5b50 /fs/orangefs/orangefs-kernel.h
parentorangefs: put register_chrdev immediately before register_filesystem (diff)
downloadlinux-d57521a653e7ac2e8edaabfff202caf87c61f08a.tar.xz
linux-d57521a653e7ac2e8edaabfff202caf87c61f08a.zip
orangefs: remove inode->i_lock wrapper
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.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/orangefs/orangefs-kernel.h b/fs/orangefs/orangefs-kernel.h
index 045e493ab033..784629870717 100644
--- a/fs/orangefs/orangefs-kernel.h
+++ b/fs/orangefs/orangefs-kernel.h
@@ -632,9 +632,6 @@ do { \
spin_unlock(&orangefs_superblocks_lock); \
} while (0)
-#define orangefs_lock_inode(inode) spin_lock(&inode->i_lock)
-#define orangefs_unlock_inode(inode) spin_unlock(&inode->i_lock)
-
#define fill_default_sys_attrs(sys_attr, type, mode) \
do { \
sys_attr.owner = from_kuid(current_user_ns(), current_fsuid()); \