-
- Downloads
mm: drop "wait" parameter from write_one_page()
The callers all set it to 1. Also, make it clear that this function will not set any sort of AS_* error, and that the caller must do so if necessary. No existing caller uses this on normal files, so none of them need it. Also, add __must_check here since, in general, the callers need to handle an error here in some fashion. Link: http://lkml.kernel.org/r/20170525103303.6524-1-jlayton@redhat.com Signed-off-by:Jeff Layton <jlayton@redhat.com> Reviewed-by:
Ross Zwisler <ross.zwisler@linux.intel.com> Reviewed-by:
Jan Kara <jack@suse.cz> Reviewed-by:
Matthew Wilcox <mawilcox@microsoft.com> Reviewed-by:
Christoph Hellwig <hch@lst.de> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org>
Showing
- fs/exofs/dir.c 1 addition, 1 deletionfs/exofs/dir.c
- fs/ext2/dir.c 1 addition, 1 deletionfs/ext2/dir.c
- fs/jfs/jfs_metapage.c 2 additions, 2 deletionsfs/jfs/jfs_metapage.c
- fs/minix/dir.c 1 addition, 1 deletionfs/minix/dir.c
- fs/sysv/dir.c 1 addition, 1 deletionfs/sysv/dir.c
- fs/ufs/dir.c 1 addition, 1 deletionfs/ufs/dir.c
- include/linux/mm.h 1 addition, 1 deletioninclude/linux/mm.h
- mm/page-writeback.c 7 additions, 7 deletionsmm/page-writeback.c
Loading
Please register or sign in to comment