aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pwm/pwm-stm32-lp.c
diff options
context:
space:
mode:
authorLukas Czerner <[email protected]>2017-08-03 20:19:13 +0000
committerDarrick J. Wong <[email protected]>2017-08-04 20:43:36 +0000
commit56bdf855e676f1f2ed7033f288f57dfd315725ba (patch)
tree45f1e00147384ae06000eb3e24a5bee542907706 /drivers/pwm/pwm-stm32-lp.c
parentxfs: Fix leak of discard bio (diff)
downloadkernel-56bdf855e676f1f2ed7033f288f57dfd315725ba.tar.gz
kernel-56bdf855e676f1f2ed7033f288f57dfd315725ba.zip
xfs: Fix per-inode DAX flag inheritance
According to the commit that implemented per-inode DAX flag: commit 58f88ca2df72 ("xfs: introduce per-inode DAX enablement") the flag is supposed to act as "inherit flag". Currently this only works in the situations where parent directory already has a flag in di_flags set, otherwise inheritance does not work. This is because setting the XFS_DIFLAG2_DAX flag is done in a wrong branch designated for di_flags, not di_flags2. Fix this by moving the code to branch designated for setting di_flags2, which does test for flags in di_flags2. Fixes: 58f88ca2df72 ("xfs: introduce per-inode DAX enablement") Signed-off-by: Lukas Czerner <[email protected]> Reviewed-by: Darrick J. Wong <[email protected]> Signed-off-by: Darrick J. Wong <[email protected]>
Diffstat (limited to 'drivers/pwm/pwm-stm32-lp.c')
0 files changed, 0 insertions, 0 deletions