f2fs: reuse get_extent_info
[deliverable/linux.git] / fs / f2fs / f2fs.h
index ea146a599b4c192b2e43a78bb14b023d26ff9785..ccf8bf4debfcc09e874c6e73b5c9db11b592b0a4 100644 (file)
@@ -428,11 +428,11 @@ struct f2fs_inode_info {
 };
 
 static inline void get_extent_info(struct extent_info *ext,
-                                       struct f2fs_extent i_ext)
+                                       struct f2fs_extent *i_ext)
 {
-       ext->fofs = le32_to_cpu(i_ext.fofs);
-       ext->blk = le32_to_cpu(i_ext.blk);
-       ext->len = le32_to_cpu(i_ext.len);
+       ext->fofs = le32_to_cpu(i_ext->fofs);
+       ext->blk = le32_to_cpu(i_ext->blk);
+       ext->len = le32_to_cpu(i_ext->len);
 }
 
 static inline void set_raw_extent(struct extent_info *ext,
This page took 0.0371 seconds and 5 git commands to generate.