Commit 6c056ae
Al Viro
libfs: kill empty_dir_getattr()
It's used only to initialize ->getattr in one inode_operations instance
(empty_dir_inode_operations) and its behaviour had always been equivalent
to what we get with NULL ->getattr.
Just remove that initializer, along with empty_dir_getattr() itself.
While we are at it, the same instance has ->permission initialized to
generic_permission, which is what NULL ->permission ends up doing.
Again, no point keeping it.
Reviewed-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>1 parent 95f567f commit 6c056ae
1 file changed
Lines changed: 0 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1711 | 1711 | | |
1712 | 1712 | | |
1713 | 1713 | | |
1714 | | - | |
1715 | | - | |
1716 | | - | |
1717 | | - | |
1718 | | - | |
1719 | | - | |
1720 | | - | |
1721 | | - | |
1722 | | - | |
1723 | 1714 | | |
1724 | 1715 | | |
1725 | 1716 | | |
| |||
1733 | 1724 | | |
1734 | 1725 | | |
1735 | 1726 | | |
1736 | | - | |
1737 | 1727 | | |
1738 | | - | |
1739 | 1728 | | |
1740 | 1729 | | |
1741 | 1730 | | |
| |||
0 commit comments