FS-Cache: More miscellany
Subsystems (4)
David Howells
maintainercover FS-Cache: More miscellany
Attached are another couple of miscellaneous bits in FS-Cache and CacheFiles:
(1) Fix an uninitialised error value.
(2) In MAINTAINERS, mark the mailing list as being moderated for non-subscribers.
These can also be found here:
http://git.kernel.org/cgit/linux/kernel/git/dhowells/linux-fs.git/log/?h=fscache-fixes
David
---
Geert Uytterhoeven (2):
FS-Cache: Add missing initialization of ret in cachefiles_write_page()
MAINTAINERS: [email protected] is moderated for non-subscribers
MAINTAINERS | 4 ++-- fs/cachefiles/rdwr.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
David Howells
maintainerPATCH 1/2 FS-Cache: Add missing initialization of ret in cachefiles_write_page()
From: Geert Uytterhoeven <[email protected]>
fs/cachefiles/rdwr.c: In function ‘cachefiles_write_page’:fs/cachefiles/rdwr.c:882: warning: ‘ret’ may be used uninitialized in this function
If the jump to label "error" is taken, "ret" will indeed be uninitialized, and random stack data may be printed by the debug code.
---
fs/cachefiles/rdwr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
fs/cachefiles/rdwr.c +1 -1
@@ -879,7 +879,7 @@ int cachefiles_write_page(struct fscache_storage *op, struct page *page)loff_t pos, eof;size_t len;void *data; -int ret; +int ret = -ENOBUFS ;ASSERT (op !=NULL );ASSERT (page !=NULL );
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
David Howells
maintainerPATCH 2/2 MAINTAINERS: [email protected] is moderated for non-subscribers
In reply to David HowellsFrom: Geert Uytterhoeven <[email protected]>
---
MAINTAINERS | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
MAINTAINERS +2 -2
@@ -2545,7 +2545,7 @@ F: arch/c6x/ CACHEFILES: FS-CACHE BACKEND FOR CACHING ON MOUNTED FILESYSTEMS M: David Howells <[email protected]> -L: [email protected] +L: [email protected] (moderated for non-subscribers) S: Supported F: Documentation/filesystems/caching/cachefiles.txt F: fs/cachefiles/
@@ -4558,7 +4558,7 @@ F: include/linux/frontswap.h FS-CACHE: LOCAL CACHING FOR NETWORK FILESYSTEMS M: David Howells <[email protected]> -L: [email protected] +L: [email protected] (moderated for non-subscribers) S: Supported F: Documentation/filesystems/caching/ F: fs/fscache/
David Howells
maintainerLet me resend this with the correct cc list.
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html