super.c (1f422417945d08731e2915e0addb976f11b3a85a) super.c (e7cda1ee94f464e02e356319aec7d83ccba8cab4)
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * Copyright (C) 2017-2018 HUAWEI, Inc.
4 * http://www.huawei.com/
5 * Created by Gao Xiang <gaoxiang25@huawei.com>
6 */
7#include <linux/module.h>
8#include <linux/buffer_head.h>

--- 394 unchanged lines hidden (view full) ---

403 if (err)
404 return err;
405
406 sb->s_flags |= SB_RDONLY | SB_NOATIME;
407 sb->s_maxbytes = MAX_LFS_FILESIZE;
408 sb->s_time_gran = 1;
409
410 sb->s_op = &erofs_sops;
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * Copyright (C) 2017-2018 HUAWEI, Inc.
4 * http://www.huawei.com/
5 * Created by Gao Xiang <gaoxiang25@huawei.com>
6 */
7#include <linux/module.h>
8#include <linux/buffer_head.h>

--- 394 unchanged lines hidden (view full) ---

403 if (err)
404 return err;
405
406 sb->s_flags |= SB_RDONLY | SB_NOATIME;
407 sb->s_maxbytes = MAX_LFS_FILESIZE;
408 sb->s_time_gran = 1;
409
410 sb->s_op = &erofs_sops;
411
412#ifdef CONFIG_EROFS_FS_XATTR
413 sb->s_xattr = erofs_xattr_handlers;
411 sb->s_xattr = erofs_xattr_handlers;
414#endif
412
415 /* set erofs default mount options */
416 erofs_default_options(sbi);
417
418 err = erofs_parse_options(sb, data);
419 if (err)
420 return err;
421
422 if (test_opt(sbi, POSIX_ACL))

--- 222 unchanged lines hidden ---
413 /* set erofs default mount options */
414 erofs_default_options(sbi);
415
416 err = erofs_parse_options(sb, data);
417 if (err)
418 return err;
419
420 if (test_opt(sbi, POSIX_ACL))

--- 222 unchanged lines hidden ---