-
- Downloads
fs: introduce f_op->mmap_capabilities for nommu mmap support
Since "BDI: Provide backing device capability information [try #3]" the backing_dev_info structure also provides flags for the kind of mmap operation available in a nommu environment, which is entirely unrelated to it's original purpose. Introduce a new nommu-only file operation to provide this information to the nommu mmap code instead. Splitting this from the backing_dev_info structure allows to remove lots of backing_dev_info instance that aren't otherwise needed, and entirely gets rid of the concept of providing a backing_dev_info for a character device. It also removes the need for the mtd_inodefs filesystem. Signed-off-by:Christoph Hellwig <hch@lst.de> Reviewed-by:
Tejun Heo <tj@kernel.org> Acked-by:
Brian Norris <computersforpeace@gmail.com> Signed-off-by:
Jens Axboe <axboe@fb.com>
Showing
- Documentation/nommu-mmap.txt 4 additions, 4 deletionsDocumentation/nommu-mmap.txt
- block/blk-core.c 1 addition, 1 deletionblock/blk-core.c
- drivers/char/mem.c 32 additions, 32 deletionsdrivers/char/mem.c
- drivers/mtd/mtdchar.c 10 additions, 62 deletionsdrivers/mtd/mtdchar.c
- drivers/mtd/mtdconcat.c 0 additions, 10 deletionsdrivers/mtd/mtdconcat.c
- drivers/mtd/mtdcore.c 22 additions, 58 deletionsdrivers/mtd/mtdcore.c
- drivers/mtd/mtdpart.c 0 additions, 1 deletiondrivers/mtd/mtdpart.c
- drivers/staging/lustre/lustre/llite/llite_lib.c 1 addition, 1 deletiondrivers/staging/lustre/lustre/llite/llite_lib.c
- fs/9p/v9fs.c 1 addition, 1 deletionfs/9p/v9fs.c
- fs/afs/volume.c 1 addition, 1 deletionfs/afs/volume.c
- fs/aio.c 1 addition, 13 deletionsfs/aio.c
- fs/btrfs/disk-io.c 1 addition, 2 deletionsfs/btrfs/disk-io.c
- fs/char_dev.c 0 additions, 24 deletionsfs/char_dev.c
- fs/cifs/connect.c 1 addition, 1 deletionfs/cifs/connect.c
- fs/coda/inode.c 1 addition, 1 deletionfs/coda/inode.c
- fs/configfs/configfs_internal.h 0 additions, 2 deletionsfs/configfs/configfs_internal.h
- fs/configfs/inode.c 1 addition, 17 deletionsfs/configfs/inode.c
- fs/configfs/mount.c 2 additions, 9 deletionsfs/configfs/mount.c
- fs/ecryptfs/main.c 1 addition, 1 deletionfs/ecryptfs/main.c
- fs/exofs/super.c 1 addition, 1 deletionfs/exofs/super.c
Loading
Please register or sign in to comment