Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1167131
| From | kbuild test robot <fengguang.wu@intel.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH vfs] ufs:: ufs_truncate_blocks() can be static |
| Date | 2015-06-17 22:10 +0200 |
| Message-ID | <pCrON-3fM-9@gated-at.bofh.it> (permalink) |
| References | <pCrON-3fM-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
inode.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/ufs/inode.c b/fs/ufs/inode.c
index 443f85e..0e23a67 100644
--- a/fs/ufs/inode.c
+++ b/fs/ufs/inode.c
@@ -1379,7 +1379,7 @@ out:
return err;
}
-void ufs_truncate_blocks(struct inode *inode)
+static void ufs_truncate_blocks(struct inode *inode)
{
if (!(S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode) ||
S_ISLNK(inode->i_mode)))
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[vfs:ufs 143/148] fs/ufs/inode.c:1382:6: sparse: symbol 'ufs_truncate_blocks' was not declared. Should it be static? kbuild test robot <fengguang.wu@intel.com> - 2015-06-17 22:10 +0200 [PATCH vfs] ufs:: ufs_truncate_blocks() can be static kbuild test robot <fengguang.wu@intel.com> - 2015-06-17 22:10 +0200
csiph-web