* [PATCH 1/1] Remove UBIFS_FS_XATTR config option.
@ 2012-04-14 16:09 Subodh Nijsure
2012-04-18 15:40 ` Subodh Nijsure
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Subodh Nijsure @ 2012-04-14 16:09 UTC (permalink / raw)
To: Subodh Nijsure, Artem Bityutskiy, Adrian Hunter, linux-mtd
Cc: linux-kernel, Subodh Nijsure
Remove CONFIG_UBIFS_FS_XATTR configuration option and associated
UBIFS_FS_XATTR ifdefs.
Testing:
Tested using integck while using nandsim on x86 & MX28 based
platform with Micron MT29F2G08ABAEAH4 nand.
Signed-off-by: Subodh Nijsure <snijsure@grid-net.com>
---
fs/ubifs/Kconfig | 6 ------
fs/ubifs/Makefile | 3 +--
fs/ubifs/dir.c | 2 --
fs/ubifs/file.c | 2 --
fs/ubifs/journal.c | 2 --
5 files changed, 1 insertions(+), 14 deletions(-)
diff --git a/fs/ubifs/Kconfig b/fs/ubifs/Kconfig
index f8b0160..e49a23c 100644
--- a/fs/ubifs/Kconfig
+++ b/fs/ubifs/Kconfig
@@ -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
diff --git a/fs/ubifs/Makefile b/fs/ubifs/Makefile
index 80e93c3..4878614 100644
--- a/fs/ubifs/Makefile
+++ b/fs/ubifs/Makefile
@@ -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
diff --git a/fs/ubifs/dir.c b/fs/ubifs/dir.c
index ec9f187..ad6e550 100644
--- a/fs/ubifs/dir.c
+++ b/fs/ubifs/dir.c
@@ -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 = {
diff --git a/fs/ubifs/file.c b/fs/ubifs/file.c
index 5c8f6dc..0fe640c 100644
--- a/fs/ubifs/file.c
+++ b/fs/ubifs/file.c
@@ -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 = {
diff --git a/fs/ubifs/journal.c b/fs/ubifs/journal.c
index 2f438ab..bc75e9d 100644
--- a/fs/ubifs/journal.c
+++ b/fs/ubifs/journal.c
@@ -1267,7 +1267,6 @@ out_free:
return err;
}
-#ifdef CONFIG_UBIFS_FS_XATTR
/**
* ubifs_jnl_delete_xattr - delete an extended attribute.
@@ -1462,4 +1461,3 @@ out_free:
return err;
}
-#endif /* CONFIG_UBIFS_FS_XATTR */
--
1.7.5.4
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH 1/1] Remove UBIFS_FS_XATTR config option.
2012-04-14 16:09 [PATCH 1/1] Remove UBIFS_FS_XATTR config option Subodh Nijsure
@ 2012-04-18 15:40 ` Subodh Nijsure
2012-04-18 16:02 ` Artem Bityutskiy
2012-04-22 14:19 ` Artem Bityutskiy
2012-04-22 14:27 ` Artem Bityutskiy
2 siblings, 1 reply; 5+ messages in thread
From: Subodh Nijsure @ 2012-04-18 15:40 UTC (permalink / raw)
To: Artem Bityutskiy, Adrian Hunter; +Cc: linux-kernel, Subodh Nijsure
Any chance I can get feedback on this, so I can send out V3 of my
extended attribute patch.
Regards,
-Subodh
On Sat, Apr 14, 2012 at 9:09 AM, Subodh Nijsure
<subodh.nijsure@gmail.com> wrote:
> Remove CONFIG_UBIFS_FS_XATTR configuration option and associated
> UBIFS_FS_XATTR ifdefs.
>
> Testing:
> Tested using integck while using nandsim on x86 & MX28 based
> platform with Micron MT29F2G08ABAEAH4 nand.
>
> Signed-off-by: Subodh Nijsure <snijsure@grid-net.com>
> ---
> fs/ubifs/Kconfig | 6 ------
> fs/ubifs/Makefile | 3 +--
> fs/ubifs/dir.c | 2 --
> fs/ubifs/file.c | 2 --
> fs/ubifs/journal.c | 2 --
> 5 files changed, 1 insertions(+), 14 deletions(-)
>
> diff --git a/fs/ubifs/Kconfig b/fs/ubifs/Kconfig
> index f8b0160..e49a23c 100644
> --- a/fs/ubifs/Kconfig
> +++ b/fs/ubifs/Kconfig
> @@ -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
> diff --git a/fs/ubifs/Makefile b/fs/ubifs/Makefile
> index 80e93c3..4878614 100644
> --- a/fs/ubifs/Makefile
> +++ b/fs/ubifs/Makefile
> @@ -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
> diff --git a/fs/ubifs/dir.c b/fs/ubifs/dir.c
> index ec9f187..ad6e550 100644
> --- a/fs/ubifs/dir.c
> +++ b/fs/ubifs/dir.c
> @@ -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 = {
> diff --git a/fs/ubifs/file.c b/fs/ubifs/file.c
> index 5c8f6dc..0fe640c 100644
> --- a/fs/ubifs/file.c
> +++ b/fs/ubifs/file.c
> @@ -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 = {
> diff --git a/fs/ubifs/journal.c b/fs/ubifs/journal.c
> index 2f438ab..bc75e9d 100644
> --- a/fs/ubifs/journal.c
> +++ b/fs/ubifs/journal.c
> @@ -1267,7 +1267,6 @@ out_free:
> return err;
> }
>
> -#ifdef CONFIG_UBIFS_FS_XATTR
>
> /**
> * ubifs_jnl_delete_xattr - delete an extended attribute.
> @@ -1462,4 +1461,3 @@ out_free:
> return err;
> }
>
> -#endif /* CONFIG_UBIFS_FS_XATTR */
> --
> 1.7.5.4
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 1/1] Remove UBIFS_FS_XATTR config option.
2012-04-18 15:40 ` Subodh Nijsure
@ 2012-04-18 16:02 ` Artem Bityutskiy
0 siblings, 0 replies; 5+ messages in thread
From: Artem Bityutskiy @ 2012-04-18 16:02 UTC (permalink / raw)
To: Subodh Nijsure; +Cc: Adrian Hunter, linux-kernel, Subodh Nijsure
On Wed, 2012-04-18 at 08:40 -0700, Subodh Nijsure wrote:
> Any chance I can get feedback on this, so I can send out V3 of my
> extended attribute patch.
Looks good, I am having paternity leave now and only sporadically check
my e-mail, but do not have time to test/apply patches so far. Assume it
is applied and send the real functionality on top. I'll take it as soon
as I leave.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 1/1] Remove UBIFS_FS_XATTR config option.
2012-04-14 16:09 [PATCH 1/1] Remove UBIFS_FS_XATTR config option Subodh Nijsure
2012-04-18 15:40 ` Subodh Nijsure
@ 2012-04-22 14:19 ` Artem Bityutskiy
2012-04-22 14:27 ` Artem Bityutskiy
2 siblings, 0 replies; 5+ messages in thread
From: Artem Bityutskiy @ 2012-04-22 14:19 UTC (permalink / raw)
To: Subodh Nijsure; +Cc: Adrian Hunter, linux-mtd, linux-kernel, Subodh Nijsure
[-- Attachment #1: Type: text/plain, Size: 495 bytes --]
On Sat, 2012-04-14 at 09:09 -0700, Subodh Nijsure wrote:
> Remove CONFIG_UBIFS_FS_XATTR configuration option and associated
> UBIFS_FS_XATTR ifdefs.
>
> Testing:
> Tested using integck while using nandsim on x86 & MX28 based
> platform with Micron MT29F2G08ABAEAH4 nand.
>
> Signed-off-by: Subodh Nijsure <snijsure@grid-net.com>
Ok, while babies are sleeping I had time to handle my inbox. Pushed to
linux-ubifs.git, thanks!
--
Best Regards,
Artem Bityutskiy
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 1/1] Remove UBIFS_FS_XATTR config option.
2012-04-14 16:09 [PATCH 1/1] Remove UBIFS_FS_XATTR config option Subodh Nijsure
2012-04-18 15:40 ` Subodh Nijsure
2012-04-22 14:19 ` Artem Bityutskiy
@ 2012-04-22 14:27 ` Artem Bityutskiy
2 siblings, 0 replies; 5+ messages in thread
From: Artem Bityutskiy @ 2012-04-22 14:27 UTC (permalink / raw)
To: Subodh Nijsure; +Cc: Adrian Hunter, linux-mtd, linux-kernel, Subodh Nijsure
[-- Attachment #1: Type: text/plain, Size: 497 bytes --]
On Sat, 2012-04-14 at 09:09 -0700, Subodh Nijsure wrote:
> Remove CONFIG_UBIFS_FS_XATTR configuration option and associated
> UBIFS_FS_XATTR ifdefs.
>
> Testing:
> Tested using integck while using nandsim on x86 & MX28 based
> platform with Micron MT29F2G08ABAEAH4 nand.
>
> Signed-off-by: Subodh Nijsure <snijsure@grid-net.com>
Ok, while babies are sleeping I had time to handle my inbox. Pushed to
linux-ubifs.git, thanks!
--
Best Regards,
Artem Bityutskiy
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2012-04-22 14:29 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-14 16:09 [PATCH 1/1] Remove UBIFS_FS_XATTR config option Subodh Nijsure
2012-04-18 15:40 ` Subodh Nijsure
2012-04-18 16:02 ` Artem Bityutskiy
2012-04-22 14:19 ` Artem Bityutskiy
2012-04-22 14:27 ` Artem Bityutskiy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).