fs: add support for an inode to carry stream related data
authorJens Axboe <axboe@kernel.dk>
Tue, 13 Jun 2017 20:50:57 +0000 (14:50 -0600)
committerJens Axboe <axboe@fb.com>
Wed, 14 Jun 2017 18:55:34 +0000 (12:55 -0600)
commit09227116fbe9eff9d7557645bf65d7555240ee56
tree84cd0a26ff84079d74ab598da5d57053cf02d8d5
parent7b5c15e7ac7b055c906ddda9c97f86af8bae0102
fs: add support for an inode to carry stream related data

No functional changes in this patch, just in preparation for
allowing applications to pass in hints about data life times
for writes.

Pack the i_stream field into a 2-byte hole, so we don't grow
the size of the inode.

Reviewed-by: Andreas Dilger <adilger@dilger.ca>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/inode.c
include/linux/fs.h