mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-17 10:46:33 +00:00
fs/ntfs3: Make static function attr_load_runs
attr_load_runs is an internal function Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
This commit is contained in:
parent
071100ea0e
commit
cf760ec0a0
@ -84,8 +84,8 @@ static inline bool attr_must_be_resident(struct ntfs_sb_info *sbi,
|
|||||||
/*
|
/*
|
||||||
* attr_load_runs - Load all runs stored in @attr.
|
* attr_load_runs - Load all runs stored in @attr.
|
||||||
*/
|
*/
|
||||||
int attr_load_runs(struct ATTRIB *attr, struct ntfs_inode *ni,
|
static int attr_load_runs(struct ATTRIB *attr, struct ntfs_inode *ni,
|
||||||
struct runs_tree *run, const CLST *vcn)
|
struct runs_tree *run, const CLST *vcn)
|
||||||
{
|
{
|
||||||
int err;
|
int err;
|
||||||
CLST svcn = le64_to_cpu(attr->nres.svcn);
|
CLST svcn = le64_to_cpu(attr->nres.svcn);
|
||||||
|
@ -408,8 +408,6 @@ enum REPARSE_SIGN {
|
|||||||
};
|
};
|
||||||
|
|
||||||
/* Functions from attrib.c */
|
/* Functions from attrib.c */
|
||||||
int attr_load_runs(struct ATTRIB *attr, struct ntfs_inode *ni,
|
|
||||||
struct runs_tree *run, const CLST *vcn);
|
|
||||||
int attr_allocate_clusters(struct ntfs_sb_info *sbi, struct runs_tree *run,
|
int attr_allocate_clusters(struct ntfs_sb_info *sbi, struct runs_tree *run,
|
||||||
CLST vcn, CLST lcn, CLST len, CLST *pre_alloc,
|
CLST vcn, CLST lcn, CLST len, CLST *pre_alloc,
|
||||||
enum ALLOCATE_OPT opt, CLST *alen, const size_t fr,
|
enum ALLOCATE_OPT opt, CLST *alen, const size_t fr,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user