summaryrefslogtreecommitdiff
path: root/fs/ntfs3/ntfs_fs.h
diff options
context:
space:
mode:
authorKonstantin Komarov <almaz.alexandrovich@paragon-software.com>2023-01-16 13:03:24 +0400
committerKonstantin Komarov <almaz.alexandrovich@paragon-software.com>2023-03-27 16:59:18 +0400
commit1842fbc8d25e629e54080fe3c5928d4ce8ccf55a (patch)
treef732ca28c31c9da8f8ce3ec35e32edbdd1a2817f /fs/ntfs3/ntfs_fs.h
parent267a36ba30a7425ad59d20e7e7e33bbdcc9cfb0a (diff)
downloadlwn-1842fbc8d25e629e54080fe3c5928d4ce8ccf55a.tar.gz
lwn-1842fbc8d25e629e54080fe3c5928d4ce8ccf55a.zip
fs/ntfs3: Fix ntfs_create_inode()
Previous variant creates an inode that requires update the parent directory (ea_packed_size). Operations in ntfs_create_inode have been rearranged so we insert new directory entry with correct ea_packed_size and new created inode does not require update it's parent directory. Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
Diffstat (limited to 'fs/ntfs3/ntfs_fs.h')
-rw-r--r--fs/ntfs3/ntfs_fs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ntfs3/ntfs_fs.h b/fs/ntfs3/ntfs_fs.h
index 85efb34d211c..50b7fb71ca26 100644
--- a/fs/ntfs3/ntfs_fs.h
+++ b/fs/ntfs3/ntfs_fs.h
@@ -872,7 +872,7 @@ int ntfs_acl_chmod(struct mnt_idmap *idmap, struct dentry *dentry);
ssize_t ntfs_listxattr(struct dentry *dentry, char *buffer, size_t size);
extern const struct xattr_handler *ntfs_xattr_handlers[];
-int ntfs_save_wsl_perm(struct inode *inode);
+int ntfs_save_wsl_perm(struct inode *inode, __le16 *ea_size);
void ntfs_get_wsl_perm(struct inode *inode);
/* globals from lznt.c */