projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aacee72
)
gfs2: Make gfs2_write_full_page static
author
Andrew Price
<
[email protected]
>
Fri, 3 Feb 2017 13:23:47 +0000
(08:23 -0500)
committer
Bob Peterson
<
[email protected]
>
Fri, 3 Feb 2017 13:23:47 +0000
(08:23 -0500)
It only gets called from aops.c and doesn't appear in any headers.
Signed-off-by: Andrew Price <
[email protected]
>
Signed-off-by: Bob Peterson <
[email protected]
>
fs/gfs2/aops.c
patch
|
blob
|
history
diff --git
a/fs/gfs2/aops.c
b/fs/gfs2/aops.c
index 5a6f52ea272282b0c695372f11c8f8512c7ace12..755b81e27e4f74c60f5f1d29131fea831a0214fc 100644
(file)
--- a/
fs/gfs2/aops.c
+++ b/
fs/gfs2/aops.c
@@
-143,8
+143,8
@@
static int gfs2_writepage(struct page *page, struct writeback_control *wbc)
/* This is the same as calling block_write_full_page, but it also
* writes pages outside of i_size
*/
-int gfs2_write_full_page(struct page *page, get_block_t *get_block,
- struct writeback_control *wbc)
+
static
int gfs2_write_full_page(struct page *page, get_block_t *get_block,
+
struct writeback_control *wbc)
{
struct inode * const inode = page->mapping->host;
loff_t i_size = i_size_read(inode);