Skip to content

fs: Remove i_devices from struct inode

Jan Kara linux-fsdevel lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 9 repliesIn review
  2. v24 patches 12 repliesSuperseded
  3. v117 patches 4 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4blockdev: Don't use i_devices inode fieldfs/block_dev.c include/linux/fs.h+3 -150 replies
2/4chardev: Increment cdev reference count when i_cdev references itfs/char_dev.c+9 -30 replies
3/4chardev: Don't use i_devices inode fieldfs/char_dev.c include/linux/cdev.h+1 -220 replies
4/4fs: Remove i_devices list headfs/inode.c include/linux/fs.h+0 -20 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchChristoph Hellwig
1/4R-b
2/4R-b
3/4R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH 0/4 v3] fs: Remove i_devices from struct inode

Hello,

this patch set removes use of i_devices from block and character device
code and thus we can remove the list head from struct inode thus saving two pointers in it. As Christoph has reviewed the series, can you please merge it Al? Thanks!

Since v2 I've added reviewed-by tags from Christoph and changed one variable name in cdev_forget().

Since v1 I have split the patches and properly handled character devices (I broke them last time as Christoph pointed out).

Honza