]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: refactor inode flags propagation code
authorDarrick J. Wong <darrick.wong@oracle.com>
Sun, 13 Sep 2020 17:16:40 +0000 (10:16 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Wed, 16 Sep 2020 03:52:42 +0000 (20:52 -0700)
commitd467e9f3cd13672013a7a3efd6e11b18bcd4a953
tree4c80f5b79b57754e08ee227a23167b3c3ef89f5a
parent49047e5ba0355417fafc7986e25422843e40abc9
xfs: refactor inode flags propagation code

Hoist the code that propagates di_flags and di_flags2 from a parent to a
new child into separate functions.  No functional changes.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/xfs/xfs_inode.c