Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
bf45bce2
Commit
bf45bce2
authored
May 25, 2002
by
Anton Altaparmakov
Browse files
Options
Browse Files
Download
Plain Diff
Merge cantab.net:/usr/src/bklinux-2.5 into cantab.net:/usr/src/tng
parents
d9a704ee
e9322f66
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
47 deletions
+0
-47
fs/ntfs/attraops.c
fs/ntfs/attraops.c
+0
-47
No files found.
fs/ntfs/attraops.c
deleted
100644 → 0
View file @
d9a704ee
#include "ntfs.h"
/*
* We need to define the attribute object structure. FIXME: Move these to
* ntfs.h.
*/
typedef
struct
{
ntfs_inode
*
a_ni
;
ntfs_volume
*
a_vol
;
atomic_t
a_count
;
s64
a_size
;
struct
rw_semaphore
a_sem
;
struct
address_space
a_mapping
;
unsigned
long
a_flags
;
}
attr_obj
;
/**
* ntfs_attr_readpage - fill a page @page of an attribute object @aobj with data
* @aobj: attribute object to which the page @page belongs
* @page: page cache page to fill with data
*
*/
//static int ntfs_attr_readpage(attr_obj *aobj, struct page *page)
static
int
ntfs_attr_readpage
(
struct
file
*
aobj
,
struct
page
*
page
)
{
return
-
EOPNOTSUPP
;
}
/*
* Address space operations for accessing attributes. Note that these functions
* do not accept an inode as the first parameter but an attribute object. We
* use this to implement a generic interface that is not bound to inodes in
* order to support multiple named streams per file, multiple bitmaps per file
* and directory, etc. Basically, this gives access to any attribute within an
* mft record.
*
* We make use of a slab cache for attribute object allocations.
*/
struct
address_space_operations
ntfs_attr_aops
=
{
writepage:
NULL
,
/* Write dirty page to disk. */
readpage:
ntfs_attr_readpage
,
/* Fill page with data. */
sync_page:
block_sync_page
,
/* Currently, just unplugs the
disk request queue. */
prepare_write:
NULL
,
/* . */
commit_write:
NULL
,
/* . */
};
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment