Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 4852
b: refs/heads/master
c: 7e69307
h: refs/heads/master
v: v3
  • Loading branch information
Anton Altaparmakov committed May 5, 2005
1 parent 217e117 commit b6aafbe
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9451f8519c5e6d5d064c30033fc3d4ce77de321c
refs/heads/master: 7e693073a940c7484c0c21e3e1603e29ce46f30c
2 changes: 2 additions & 0 deletions trunk/fs/ntfs/ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@ ToDo/Notes:
checked and set in the ntfs inode as done for compressed files and
the compressed size needs to be used for vfs inode->i_blocks instead
of the allocated size, again, as done for compressed files.
- Add AT_EA in addition to AT_DATA to whitelist for being allowed to
be non-resident in fs/ntfs/attrib.c::ntfs_attr_can_be_non_resident().

2.1.22 - Many bug and race fixes and error handling improvements.

Expand Down
7 changes: 4 additions & 3 deletions trunk/fs/ntfs/attrib.c
Original file line number Diff line number Diff line change
Expand Up @@ -1049,10 +1049,11 @@ int ntfs_attr_can_be_non_resident(const ntfs_volume *vol, const ATTR_TYPE type)
ATTR_DEF *ad;

/*
* $DATA is always allowed to be non-resident even if $AttrDef does not
* specify this in the flags of the $DATA attribute definition record.
* $DATA and $EA are always allowed to be non-resident even if $AttrDef
* does not specify this in the flags of the $DATA attribute definition
* record.
*/
if (type == AT_DATA)
if (type == AT_DATA || type == AT_EA)
return 0;
/* Find the attribute definition record in $AttrDef. */
ad = ntfs_attr_find_in_attrdef(vol, type);
Expand Down

0 comments on commit b6aafbe

Please sign in to comment.