Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 305139
b: refs/heads/master
c: 1bdcc63
h: refs/heads/master
i:
  305137: d7f4c14
  305135: 863485d
v: v3
  • Loading branch information
Subodh Nijsure authored and Artem Bityutskiy committed May 3, 2012
1 parent fde0485 commit 1f71ee7
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 15 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: 273946a5c507ff5bce12349143470e8629bbe0a7
refs/heads/master: 1bdcc63112a0fe10030abee6ad71aaecd091e68e
6 changes: 0 additions & 6 deletions trunk/fs/ubifs/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,6 @@ config UBIFS_FS
help
UBIFS is a file system for flash devices which works on top of UBI.

config UBIFS_FS_XATTR
bool "Extended attributes support"
depends on UBIFS_FS
help
This option enables support of extended attributes.

config UBIFS_FS_ADVANCED_COMPR
bool "Advanced compression options"
depends on UBIFS_FS
Expand Down
3 changes: 1 addition & 2 deletions trunk/fs/ubifs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ obj-$(CONFIG_UBIFS_FS) += ubifs.o
ubifs-y += shrinker.o journal.o file.o dir.o super.o sb.o io.o
ubifs-y += tnc.o master.o scan.o replay.o log.o commit.o gc.o orphan.o
ubifs-y += budget.o find.o tnc_commit.o compress.o lpt.o lprops.o
ubifs-y += recovery.o ioctl.o lpt_commit.o tnc_misc.o
ubifs-y += recovery.o ioctl.o lpt_commit.o tnc_misc.o xattr.o

ubifs-$(CONFIG_UBIFS_FS_DEBUG) += debug.o
ubifs-$(CONFIG_UBIFS_FS_XATTR) += xattr.o
2 changes: 0 additions & 2 deletions trunk/fs/ubifs/dir.c
Original file line number Diff line number Diff line change
Expand Up @@ -1187,12 +1187,10 @@ const struct inode_operations ubifs_dir_inode_operations = {
.rename = ubifs_rename,
.setattr = ubifs_setattr,
.getattr = ubifs_getattr,
#ifdef CONFIG_UBIFS_FS_XATTR
.setxattr = ubifs_setxattr,
.getxattr = ubifs_getxattr,
.listxattr = ubifs_listxattr,
.removexattr = ubifs_removexattr,
#endif
};

const struct file_operations ubifs_dir_operations = {
Expand Down
2 changes: 0 additions & 2 deletions trunk/fs/ubifs/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -1562,12 +1562,10 @@ const struct address_space_operations ubifs_file_address_operations = {
const struct inode_operations ubifs_file_inode_operations = {
.setattr = ubifs_setattr,
.getattr = ubifs_getattr,
#ifdef CONFIG_UBIFS_FS_XATTR
.setxattr = ubifs_setxattr,
.getxattr = ubifs_getxattr,
.listxattr = ubifs_listxattr,
.removexattr = ubifs_removexattr,
#endif
};

const struct inode_operations ubifs_symlink_inode_operations = {
Expand Down
2 changes: 0 additions & 2 deletions trunk/fs/ubifs/journal.c
Original file line number Diff line number Diff line change
Expand Up @@ -1267,7 +1267,6 @@ int ubifs_jnl_truncate(struct ubifs_info *c, const struct inode *inode,
return err;
}

#ifdef CONFIG_UBIFS_FS_XATTR

/**
* ubifs_jnl_delete_xattr - delete an extended attribute.
Expand Down Expand Up @@ -1462,4 +1461,3 @@ int ubifs_jnl_change_xattr(struct ubifs_info *c, const struct inode *inode,
return err;
}

#endif /* CONFIG_UBIFS_FS_XATTR */

0 comments on commit 1f71ee7

Please sign in to comment.