[PATCH] fs/seq_file.c: Rename the "Fill" label to avoid build failure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



MIPS define a "Fill" macro as a cache operation in cacheops.h, this
will cause build failure under some special configurations. To avoid
this failure we rename the "Fill" label in seq_file.c.

Signed-off-by: Huacai Chen <chenhc@xxxxxxxxxx>
---
 fs/seq_file.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/fs/seq_file.c b/fs/seq_file.c
index 70f5fdf..4e6c56be 100644
--- a/fs/seq_file.c
+++ b/fs/seq_file.c
@@ -213,7 +213,7 @@ ssize_t seq_read(struct file *file, char __user *buf, size_t size, loff_t *ppos)
 			continue;
 		}
 		if (m->count < m->size)
-			goto Fill;
+			goto Fillbuf;
 		m->op->stop(m, p);
 		kvfree(m->buf);
 		m->count = 0;
@@ -225,7 +225,7 @@ ssize_t seq_read(struct file *file, char __user *buf, size_t size, loff_t *ppos)
 	m->op->stop(m, p);
 	m->count = 0;
 	goto Done;
-Fill:
+Fillbuf:
 	/* they want more? let's try to get some more */
 	while (1) {
 		size_t offs = m->count;
-- 
2.7.0




[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux