aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ntfs/inode.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ntfs/inode.c')
-rw-r--r--fs/ntfs/inode.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/fs/ntfs/inode.c b/fs/ntfs/inode.c
index 6c631dbe0f4c..372c7fcdc068 100644
--- a/fs/ntfs/inode.c
+++ b/fs/ntfs/inode.c
@@ -1,7 +1,7 @@
1/** 1/**
2 * inode.c - NTFS kernel inode handling. Part of the Linux-NTFS project. 2 * inode.c - NTFS kernel inode handling. Part of the Linux-NTFS project.
3 * 3 *
4 * Copyright (c) 2001-2004 Anton Altaparmakov 4 * Copyright (c) 2001-2005 Anton Altaparmakov
5 * 5 *
6 * This program/include file is free software; you can redistribute it and/or 6 * This program/include file is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License as published 7 * modify it under the terms of the GNU General Public License as published
@@ -1731,6 +1731,7 @@ int ntfs_read_inode_mount(struct inode *vi)
1731 /* Setup the data attribute. It is special as it is mst protected. */ 1731 /* Setup the data attribute. It is special as it is mst protected. */
1732 NInoSetNonResident(ni); 1732 NInoSetNonResident(ni);
1733 NInoSetMstProtected(ni); 1733 NInoSetMstProtected(ni);
1734 NInoSetSparseDisabled(ni);
1734 ni->type = AT_DATA; 1735 ni->type = AT_DATA;
1735 ni->name = NULL; 1736 ni->name = NULL;
1736 ni->name_len = 0; 1737 ni->name_len = 0;
@@ -2279,6 +2280,8 @@ int ntfs_show_options(struct seq_file *sf, struct vfsmount *mnt)
2279 seq_printf(sf, ",case_sensitive"); 2280 seq_printf(sf, ",case_sensitive");
2280 if (NVolShowSystemFiles(vol)) 2281 if (NVolShowSystemFiles(vol))
2281 seq_printf(sf, ",show_sys_files"); 2282 seq_printf(sf, ",show_sys_files");
2283 if (!NVolSparseEnabled(vol))
2284 seq_printf(sf, ",disable_sparse");
2282 for (i = 0; on_errors_arr[i].val; i++) { 2285 for (i = 0; on_errors_arr[i].val; i++) {
2283 if (on_errors_arr[i].val & vol->on_errors) 2286 if (on_errors_arr[i].val & vol->on_errors)
2284 seq_printf(sf, ",errors=%s", on_errors_arr[i].str); 2287 seq_printf(sf, ",errors=%s", on_errors_arr[i].str);