super.c (cea845cdef4f5094f0471a6dbdb609c004ad8b06) | super.c (cd913c76f489def1a388e3a5b10df94948ede3f5) |
---|---|
1// SPDX-License-Identifier: GPL-2.0-only 2/* 3 * linux/fs/ext2/super.c 4 * 5 * Copyright (C) 1992, 1993, 1994, 1995 6 * Remy Card (card@masi.ibp.fr) 7 * Laboratoire MASI - Institut Blaise Pascal 8 * Universite Pierre et Marie Curie (Paris VI) --- 817 unchanged lines hidden (view full) --- 826 sbi->s_blockgroup_lock = 827 kzalloc(sizeof(struct blockgroup_lock), GFP_KERNEL); 828 if (!sbi->s_blockgroup_lock) { 829 kfree(sbi); 830 return -ENOMEM; 831 } 832 sb->s_fs_info = sbi; 833 sbi->s_sb_block = sb_block; | 1// SPDX-License-Identifier: GPL-2.0-only 2/* 3 * linux/fs/ext2/super.c 4 * 5 * Copyright (C) 1992, 1993, 1994, 1995 6 * Remy Card (card@masi.ibp.fr) 7 * Laboratoire MASI - Institut Blaise Pascal 8 * Universite Pierre et Marie Curie (Paris VI) --- 817 unchanged lines hidden (view full) --- 826 sbi->s_blockgroup_lock = 827 kzalloc(sizeof(struct blockgroup_lock), GFP_KERNEL); 828 if (!sbi->s_blockgroup_lock) { 829 kfree(sbi); 830 return -ENOMEM; 831 } 832 sb->s_fs_info = sbi; 833 sbi->s_sb_block = sb_block; |
834 sbi->s_daxdev = fs_dax_get_by_bdev(sb->s_bdev); | 834 sbi->s_daxdev = fs_dax_get_by_bdev(sb->s_bdev, &sbi->s_dax_part_off); |
835 836 spin_lock_init(&sbi->s_lock); 837 ret = -EINVAL; 838 839 /* 840 * See what the current blocksize for the device is, and 841 * use that as the blocksize. Otherwise (or if the blocksize 842 * is smaller than the default) use the default. --- 807 unchanged lines hidden --- | 835 836 spin_lock_init(&sbi->s_lock); 837 ret = -EINVAL; 838 839 /* 840 * See what the current blocksize for the device is, and 841 * use that as the blocksize. Otherwise (or if the blocksize 842 * is smaller than the default) use the default. --- 807 unchanged lines hidden --- |