# \[PATCH\] orangefs: fix typo in ornagefs\_inode\_lock

- From: Arnd Bergmann \<arnd@arndb.de\>
- Date: 2015-12-21 13:50:09 
- List: linux-arm-kernel
- Page: https://ratatoskr.run/linux-arm-kernel/2015/12/4647183
- Thread: https://ratatoskr.run/linux-arm-kernel/2015/12/4647183/t.md

```text
Orangefs fails to build on 32-bit SMP configurations due to a simple
misspelling, this does the obvious fix.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Fixes: 575e946125f7 ("Orangefs: change pvfs2 filenames to orangefs")
---
 fs/orangefs/orangefs-kernel.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/orangefs/orangefs-kernel.h b/fs/orangefs/orangefs-kernel.h
index 0b7ba0496aa3..fe8284045a40 100644
--- a/fs/orangefs/orangefs-kernel.h
+++ b/fs/orangefs/orangefs-kernel.h
@@ -770,7 +770,7 @@ do {									\
 static inline void orangefs_i_size_write(struct inode *inode, loff_t i_size)
 {
 #if BITS_PER_LONG == 32 && defined(CONFIG_SMP)
-	ornagefs_inode_lock(inode);
+	orangefs_inode_lock(inode);
 #endif
 	i_size_write(inode, i_size);
 #if BITS_PER_LONG == 32 && defined(CONFIG_SMP)
-- 
2.1.0.rc2
```
