apply
them in the vfs tree for 3.7? Actually in the Ted's tree there is
already the patch for ext4, but however I'm re-sending it because I
don't want to break a tree.
Thanks.
Marco Stornelli (8):
exofs: drop lock/unlock super
ext3: drop lock/unlock super
ext4: drop lock
Removed lock/unlock super.
Acked-by: Artem Bityutskiy
Acked-by: Boaz Harrosh
Signed-off-by: Marco Stornelli
---
fs/exofs/super.c |4
1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/fs/exofs/super.c b/fs/exofs/super.c
index dde41a7..c4360b5 100644
--- a/fs/exofs/super.c
Removed lock/unlock super.
Signed-off-by: Marco Stornelli
---
fs/ext3/super.c |6 --
1 files changed, 0 insertions(+), 6 deletions(-)
diff --git a/fs/ext3/super.c b/fs/ext3/super.c
index 8c892e9..9b3d498 100644
--- a/fs/ext3/super.c
+++ b/fs/ext3/super.c
@@ -2571,11 +2571,9 @@ out
Removed lock/unlock super. Added a new private s_lock mutex.
Signed-off-by: Marco Stornelli
---
fs/fat/dir.c |4 ++--
fs/fat/fat.h |1 +
fs/fat/inode.c |9 +
fs/fat/namei_msdos.c | 26 +-
fs/fat/namei_vfat.c | 30
Removed lock/unlock super.
Signed-off-by: Marco Stornelli
---
fs/hpfs/super.c |3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/fs/hpfs/super.c b/fs/hpfs/super.c
index 706a12c..8af2cdc 100644
--- a/fs/hpfs/super.c
+++ b/fs/hpfs/super.c
@@ -389,7 +389,6 @@ static int
Removed lock/unlock super. Added a new private s_lock mutex.
Signed-off-by: Marco Stornelli
---
fs/sysv/balloc.c | 18 +-
fs/sysv/ialloc.c | 14 +++---
fs/sysv/inode.c |4 ++--
fs/sysv/super.c |1 +
fs/sysv/sysv.h |1 +
5 files changed, 20 insertions
Removed lock/unlock super. Added a new private s_lock mutex.
Signed-off-by: Marco Stornelli
---
fs/ufs/balloc.c | 30 +++---
fs/ufs/ialloc.c | 16
fs/ufs/super.c | 21 +++--
fs/ufs/ufs.h|1 +
4 files changed, 35 insertions
Removed s_lock from super_block and removed lock/unlock super.
Signed-off-by: Marco Stornelli
---
fs/super.c | 23 ---
include/linux/fs.h |1 -
2 files changed, 0 insertions(+), 24 deletions(-)
diff --git a/fs/super.c b/fs/super.c
index 0902cfa..f25a44a 100644
Hi,
I'm trying to compile the latest kernel for arch um, using the latest
Linus's tree, but it doesn't compile due to the commit:
um: pass siginfo to the guest process.
I think the fix is trivial. At line 117 of os-Linux/time.c you find
this line:
alarm_handler(SIGVTALRM, NULL);
but it sh
Fix a compilation error due to a regression of commit
d3c1cfcdb43e023ab1b1c7a555cd9e929026500a
"um: pass siginfo to guest process".
Signed-off-by: Marco Stornelli
---
arch/um/os-Linux/time.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/um/os-Linu
tter to avoid regressions. After this clean,
of course, each fs can clean in a deeply way.
With these patches even the inode truncate callback is deleted.
Any comments/feedback/bugs are welcome.
Marco Stornelli (21):
ufs: drop vmtruncate
sysv: drop vmtruncate
reiserfs: drop vmtruncate
procfs: dr
Removed vmtruncate.
Signed-off-by: Marco Stornelli
---
fs/ufs/inode.c |5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/fs/ufs/inode.c b/fs/ufs/inode.c
index dd7c89d..38c44bb 100644
--- a/fs/ufs/inode.c
+++ b/fs/ufs/inode.c
@@ -536,8 +536,9 @@ static int
Removed vmtruncate.
Signed-off-by: Marco Stornelli
---
fs/sysv/file.c |5 +++--
fs/sysv/itree.c |7 +--
2 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/fs/sysv/file.c b/fs/sysv/file.c
index 0a65939..9d4dc68 100644
--- a/fs/sysv/file.c
+++ b/fs/sysv/file.c
@@ -41,9
Removed vmtruncate.
Signed-off-by: Marco Stornelli
---
fs/reiserfs/file.c |3 +--
fs/reiserfs/inode.c| 15 +++
fs/reiserfs/reiserfs.h |1 +
3 files changed, 13 insertions(+), 6 deletions(-)
diff --git a/fs/reiserfs/file.c b/fs/reiserfs/file.c
index 8375c92
Removed vmtruncate.
Signed-off-by: Marco Stornelli
---
fs/proc/base.c|3 ++-
fs/proc/generic.c |3 ++-
fs/proc/proc_sysctl.c |3 ++-
3 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/fs/proc/base.c b/fs/proc/base.c
index 1b6c84c..36fa9dd 100644
--- a/fs/proc
Removed vmtruncate.
Signed-off-by: Marco Stornelli
---
fs/omfs/file.c | 12
1 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/fs/omfs/file.c b/fs/omfs/file.c
index 2c6d952..2139ee9 100644
--- a/fs/omfs/file.c
+++ b/fs/omfs/file.c
@@ -317,8 +317,11 @@ static int
Removed vmtruncate.
Signed-off-by: Marco Stornelli
---
fs/ocfs2/file.c |3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/fs/ocfs2/file.c b/fs/ocfs2/file.c
index 46a1f6d..dd95798 100644
--- a/fs/ocfs2/file.c
+++ b/fs/ocfs2/file.c
@@ -1231,11 +1231,12 @@ int ocfs2_setattr
Removed vmtruncate.
Signed-off-by: Marco Stornelli
---
fs/adfs/inode.c |5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/fs/adfs/inode.c b/fs/adfs/inode.c
index 1dab6a1..5d2a0e0 100644
--- a/fs/adfs/inode.c
+++ b/fs/adfs/inode.c
@@ -57,8 +57,9 @@ static int
Removed vmtruncate.
Signed-off-by: Marco Stornelli
---
fs/affs/file.c |8 +---
fs/affs/inode.c |5 -
2 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/fs/affs/file.c b/fs/affs/file.c
index 2f4c935..34ebe09 100644
--- a/fs/affs/file.c
+++ b/fs/affs/file.c
@@ -39,7
Removed vmtruncate.
Signed-off-by: Marco Stornelli
---
fs/bfs/file.c |5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/fs/bfs/file.c b/fs/bfs/file.c
index f20e8a7..4967258 100644
--- a/fs/bfs/file.c
+++ b/fs/bfs/file.c
@@ -171,8 +171,9 @@ static int bfs_write_begin
Removed vmtruncate.
Signed-off-by: Marco Stornelli
---
fs/hfs/inode.c | 19 +--
1 files changed, 13 insertions(+), 6 deletions(-)
diff --git a/fs/hfs/inode.c b/fs/hfs/inode.c
index ee1bc55..e8c0273 100644
--- a/fs/hfs/inode.c
+++ b/fs/hfs/inode.c
@@ -47,8 +47,11 @@ static int
Removed vmtruncate.
Signed-off-by: Marco Stornelli
---
fs/hpfs/file.c |8 +---
fs/hpfs/inode.c |5 -
2 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/fs/hpfs/file.c b/fs/hpfs/file.c
index 89d2a58..895871a 100644
--- a/fs/hpfs/file.c
+++ b/fs/hpfs/file.c
@@ -117,8
Removed vmtruncate.
Signed-off-by: Marco Stornelli
---
fs/jfs/file.c |6 --
fs/jfs/inode.c | 13 +
2 files changed, 13 insertions(+), 6 deletions(-)
diff --git a/fs/jfs/file.c b/fs/jfs/file.c
index 844f946..bcd94e5 100644
--- a/fs/jfs/file.c
+++ b/fs/jfs/file.c
@@ -119,9
Removed vmtruncate.
Signed-off-by: Marco Stornelli
---
fs/hfsplus/inode.c | 19 +--
1 files changed, 13 insertions(+), 6 deletions(-)
diff --git a/fs/hfsplus/inode.c b/fs/hfsplus/inode.c
index 3d8b4a6..7770a9d 100644
--- a/fs/hfsplus/inode.c
+++ b/fs/hfsplus/inode.c
@@ -40,8
Removed vmtruncate.
Signed-off-by: Marco Stornelli
---
fs/hostfs/hostfs_kern.c |8 +---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/fs/hostfs/hostfs_kern.c b/fs/hostfs/hostfs_kern.c
index 1241465..36f5a62 100644
--- a/fs/hostfs/hostfs_kern.c
+++ b/fs/hostfs
Removed vmtruncate.
Signed-off-by: Marco Stornelli
---
fs/logfs/readwrite.c | 10 --
1 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/fs/logfs/readwrite.c b/fs/logfs/readwrite.c
index 5be0abe..e9adf9e 100644
--- a/fs/logfs/readwrite.c
+++ b/fs/logfs/readwrite.c
Removed vmtruncate.
Signed-off-by: Marco Stornelli
---
fs/minix/file.c |6 --
fs/minix/inode.c |7 +--
2 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/fs/minix/file.c b/fs/minix/file.c
index 4493ce6..adc6f54 100644
--- a/fs/minix/file.c
+++ b/fs/minix/file.c
Removed vmtruncate.
Signed-off-by: Marco Stornelli
---
fs/ncpfs/inode.c |4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/fs/ncpfs/inode.c b/fs/ncpfs/inode.c
index 333df07..c1e73c3 100644
--- a/fs/ncpfs/inode.c
+++ b/fs/ncpfs/inode.c
@@ -971,9 +971,11 @@ int
Removed vmtruncate.
Signed-off-by: Marco Stornelli
---
fs/nilfs2/file.c |1 -
fs/nilfs2/inode.c| 18 +-
fs/nilfs2/recovery.c |7 +--
3 files changed, 18 insertions(+), 8 deletions(-)
diff --git a/fs/nilfs2/file.c b/fs/nilfs2/file.c
index a4d56ac..543554b
Removed vmtruncate.
Signed-off-by: Marco Stornelli
---
fs/ntfs/file.c |8 +---
fs/ntfs/inode.c | 11 +--
fs/ntfs/inode.h |4
3 files changed, 18 insertions(+), 5 deletions(-)
diff --git a/fs/ntfs/file.c b/fs/ntfs/file.c
index 1ecf464..5332e90 100644
--- a/fs/ntfs
Removed vmtruncate.
Signed-off-by: Marco Stornelli
---
fs/libfs.c |2 --
include/linux/fs.h |1 -
2 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/fs/libfs.c b/fs/libfs.c
index a74cb17..69cf30d 100644
--- a/fs/libfs.c
+++ b/fs/libfs.c
@@ -369,8 +369,6 @@ int
Removed vmtruncate.
Signed-off-by: Marco Stornelli
---
include/linux/mm.h |1 -
mm/truncate.c | 23 ---
2 files changed, 0 insertions(+), 24 deletions(-)
diff --git a/include/linux/mm.h b/include/linux/mm.h
index 311be90..7eebde6 100644
--- a/include/linux/mm.h
2012/10/23 Jaegeuk Kim :
> This adds a header file describing the on-disk layout of f2fs.
>
> Signed-off-by: Changman Lee
> Signed-off-by: Chul Lee
> Signed-off-by: Jaegeuk Kim
> ---
> include/linux/f2fs_fs.h | 362
> +++
> 1 file changed, 362 inser
2012/10/23 Jaegeuk Kim :
> This adds the implementation of superblock operations for f2fs, which includes
> - init_f2fs_fs/exit_f2fs_fs
> - f2fs_mount
> - super_operations of f2fs
>
> Signed-off-by: Jaegeuk Kim
> ---
> fs/f2fs/super.c | 590
>
2012/10/23 Jaegeuk Kim :
> This adds memory operations and file/file_inode operations.
>
> - F2FS supports fallocate(), mmap(), fsync(), and basic ioctl().
>
> Signed-off-by: Jaegeuk Kim
> ---
> fs/f2fs/file.c | 640
>
> 1 file changed, 6
2012/10/23 Jaegeuk Kim :
> This adds inode operations for directory, symlink, and special inodes.
>
> Signed-off-by: Changman Lee
> Signed-off-by: Jaegeuk Kim
> ---
> fs/f2fs/namei.c | 494
> +++
> 1 file changed, 494 insertions(+)
> create
2012/10/23 Jaegeuk Kim :
>> > +void f2fs_truncate(struct inode *inode)
>> > +{
>> > + if (!(S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode) ||
>> > + S_ISLNK(inode->i_mode)))
>> > + return;
>> > +
>> > + if (IS_APPEND(inode) || IS_IMMUTABLE(i
2012/10/23 Jaegeuk Kim :
>
>> -Original Message-
>> From: Marco Stornelli [mailto:marco.storne...@gmail.com]
>> Sent: Tuesday, October 23, 2012 4:02 PM
>> To: Jaegeuk Kim
>> Cc: linux-fsde...@vger.kernel.org; linux-kernel@vger.kernel.org;
&g
2012/10/23 Jaegeuk Kim :
>> 2012/10/23 Jaegeuk Kim :
>> >
>> >> -Original Message-
>> >> From: Marco Stornelli [mailto:marco.storne...@gmail.com]
>> >> Sent: Tuesday, October 23, 2012 4:02 PM
>> >> To: Jaegeuk Kim
>&g
2012/10/23 Joel Becker :
> On Tue, Oct 23, 2012 at 10:58:42AM +0200, Marco Stornelli wrote:
>> 2012/10/23 Joel Becker :
>> > On Sat, Oct 20, 2012 at 02:19:00PM +0200, Marco Stornelli wrote:
>> >> Removed vmtruncate
>> >>
>> >> Signed-of
Il 24/10/2012 17:12, Christoph Hellwig ha scritto:
On Sat, Oct 20, 2012 at 02:17:33PM +0200, Marco Stornelli wrote:
Removed vmtruncate
Signed-off-by: Marco Stornelli
As Al pointed out we probably shouldn't even allow truncate on procfs.
Can look into refusing it instead, please?
2012/10/25 Joel Becker :
> On Tue, Oct 23, 2012 at 02:48:38PM +0200, Marco Stornelli wrote:
>> 2012/10/23 Joel Becker :
>> > On Tue, Oct 23, 2012 at 10:58:42AM +0200, Marco Stornelli wrote:
>> >> 2012/10/23 Joel Becker :
>> >> > On Sat, Oct 20, 20
Il 01/11/2012 23:50, Jan Kara ha scritto:
On Thu 01-11-12 15:23:25, Nikola Ciprich wrote:
Nov 1 14:23:25 vmnci22 [ 1075.178123] SysRq : Show Blocked State
Nov 1 14:23:25 vmnci22 [ 1075.180555] taskPC stack
pid father
Nov 1 14:23:25 vmnci22 [ 1075.180592] fsfreeze
Il 02/11/2012 11:40, Nikola Ciprich ha scritto:
I saw this behavior (task-hang) when I tested the fsfreeze code. I was
writing a little patch to replace fsfreeze's wait queue with a killable
queue, in this way the user can do at least "kill -9", but since the
behavior was the same before your pat
Hi all,
I send the fourth patch series to remove vmtruncate. Any
comments/feedback are welcome.
Changes:
v4: fix an error for ocfs2, silently ignore truncate for procfs as
suggested by Al
v3: reworked after Al and Christoph comments
v2: add documentation cleaning
v1: first draft
Marco
Removed vmtruncate
Signed-off-by: Marco Stornelli
---
fs/ufs/inode.c | 15 ++-
1 files changed, 10 insertions(+), 5 deletions(-)
diff --git a/fs/ufs/inode.c b/fs/ufs/inode.c
index eb6d0b7..ff24e44 100644
--- a/fs/ufs/inode.c
+++ b/fs/ufs/inode.c
@@ -526,6 +526,14 @@ int
Removed vmtruncate
Signed-off-by: Marco Stornelli
---
fs/sysv/file.c |5 +++--
fs/sysv/itree.c | 17 -
2 files changed, 15 insertions(+), 7 deletions(-)
diff --git a/fs/sysv/file.c b/fs/sysv/file.c
index 0a65939..9d4dc68 100644
--- a/fs/sysv/file.c
+++ b/fs/sysv/file.c
Removed vmtruncate
Signed-off-by: Marco Stornelli
---
fs/reiserfs/file.c |3 +--
fs/reiserfs/inode.c| 15 +++
fs/reiserfs/reiserfs.h |1 +
3 files changed, 13 insertions(+), 6 deletions(-)
diff --git a/fs/reiserfs/file.c b/fs/reiserfs/file.c
index 8375c92..50302d6
Removed vmtruncate
Signed-off-by: Marco Stornelli
---
fs/proc/base.c|7 ---
fs/proc/generic.c |9 +
fs/proc/proc_sysctl.c |7 ---
3 files changed, 1 insertions(+), 22 deletions(-)
diff --git a/fs/proc/base.c b/fs/proc/base.c
index 144a967..6f009a3 100644
Removed vmtruncate
Signed-off-by: Marco Stornelli
---
fs/omfs/file.c | 22 +++---
1 files changed, 15 insertions(+), 7 deletions(-)
diff --git a/fs/omfs/file.c b/fs/omfs/file.c
index 77e3cb2..e0d9b3e 100644
--- a/fs/omfs/file.c
+++ b/fs/omfs/file.c
@@ -306,6 +306,16
Removed vmtruncate
Signed-off-by: Marco Stornelli
---
fs/ocfs2/file.c | 18 --
1 files changed, 0 insertions(+), 18 deletions(-)
diff --git a/fs/ocfs2/file.c b/fs/ocfs2/file.c
index 5a4ee77..03f0d08 100644
--- a/fs/ocfs2/file.c
+++ b/fs/ocfs2/file.c
@@ -1218,24 +1218,6 @@ int
Removed vmtruncate
Signed-off-by: Marco Stornelli
---
fs/adfs/inode.c | 15 ++-
1 files changed, 10 insertions(+), 5 deletions(-)
diff --git a/fs/adfs/inode.c b/fs/adfs/inode.c
index e9bad50..5f95d1e 100644
--- a/fs/adfs/inode.c
+++ b/fs/adfs/inode.c
@@ -45,6 +45,14 @@ static int
Removed vmtruncate
Signed-off-by: Marco Stornelli
---
fs/affs/file.c | 18 --
fs/affs/inode.c |5 -
2 files changed, 16 insertions(+), 7 deletions(-)
diff --git a/fs/affs/file.c b/fs/affs/file.c
index 2f4c935..af3261b 100644
--- a/fs/affs/file.c
+++ b/fs/affs/file.c
Removed vmtruncate
Signed-off-by: Marco Stornelli
---
fs/bfs/file.c | 15 ++-
1 files changed, 10 insertions(+), 5 deletions(-)
diff --git a/fs/bfs/file.c b/fs/bfs/file.c
index f20e8a7..ad3ea14 100644
--- a/fs/bfs/file.c
+++ b/fs/bfs/file.c
@@ -161,6 +161,14 @@ static int
Removed vmtruncate
Signed-off-by: Marco Stornelli
---
fs/hfs/inode.c | 26 ++
1 files changed, 18 insertions(+), 8 deletions(-)
diff --git a/fs/hfs/inode.c b/fs/hfs/inode.c
index 0b35903..d47f116 100644
--- a/fs/hfs/inode.c
+++ b/fs/hfs/inode.c
@@ -35,6 +35,16
Removed vmtruncate
Signed-off-by: Marco Stornelli
---
fs/hpfs/file.c | 18 --
fs/hpfs/inode.c |5 -
2 files changed, 16 insertions(+), 7 deletions(-)
diff --git a/fs/hpfs/file.c b/fs/hpfs/file.c
index 89d2a58..e7629f7 100644
--- a/fs/hpfs/file.c
+++ b/fs/hpfs/file.c
Removed vmtruncate
Signed-off-by: Marco Stornelli
---
fs/jfs/file.c |6 --
fs/jfs/inode.c | 20 ++--
2 files changed, 18 insertions(+), 8 deletions(-)
diff --git a/fs/jfs/file.c b/fs/jfs/file.c
index 9d3afd1..dd7442c 100644
--- a/fs/jfs/file.c
+++ b/fs/jfs/file.c
Removed vmtruncate
Signed-off-by: Marco Stornelli
---
fs/hfsplus/inode.c | 27 ---
1 files changed, 16 insertions(+), 11 deletions(-)
diff --git a/fs/hfsplus/inode.c b/fs/hfsplus/inode.c
index 2172aa5..799b336 100644
--- a/fs/hfsplus/inode.c
+++ b/fs/hfsplus/inode.c
Removed vmtruncate
Signed-off-by: Marco Stornelli
---
fs/logfs/readwrite.c | 10 --
1 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/fs/logfs/readwrite.c b/fs/logfs/readwrite.c
index e1a3b6b..9a59cba 100644
--- a/fs/logfs/readwrite.c
+++ b/fs/logfs/readwrite.c
@@ -1887,9
Removed vmtruncate
Signed-off-by: Marco Stornelli
---
fs/minix/file.c |6 --
fs/minix/inode.c | 17 -
2 files changed, 16 insertions(+), 7 deletions(-)
diff --git a/fs/minix/file.c b/fs/minix/file.c
index 4493ce6..adc6f54 100644
--- a/fs/minix/file.c
+++ b/fs/minix
Removed vmtruncate
Signed-off-by: Marco Stornelli
---
fs/ncpfs/inode.c |4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/fs/ncpfs/inode.c b/fs/ncpfs/inode.c
index d7e9fe7..1acdad7 100644
--- a/fs/ncpfs/inode.c
+++ b/fs/ncpfs/inode.c
@@ -976,9 +976,7 @@ int
Removed vmtruncate
Signed-off-by: Marco Stornelli
---
fs/nilfs2/file.c |1 -
fs/nilfs2/inode.c| 24 +++-
fs/nilfs2/nilfs.h|1 +
fs/nilfs2/recovery.c |3 ++-
4 files changed, 18 insertions(+), 11 deletions(-)
diff --git a/fs/nilfs2/file.c b/fs
Removed vmtruncate
Signed-off-by: Marco Stornelli
---
fs/ntfs/file.c | 16 +---
fs/ntfs/inode.c |8 ++--
fs/ntfs/inode.h |4
3 files changed, 23 insertions(+), 5 deletions(-)
diff --git a/fs/ntfs/file.c b/fs/ntfs/file.c
index 1ecf464..5b2d4f0 100644
--- a/fs
Removed vmtruncate
Signed-off-by: Marco Stornelli
---
fs/libfs.c |2 --
include/linux/fs.h |1 -
2 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/fs/libfs.c b/fs/libfs.c
index 7cc37ca..c8fe267 100644
--- a/fs/libfs.c
+++ b/fs/libfs.c
@@ -369,8 +369,6 @@ int
Removed vmtruncate
Signed-off-by: Marco Stornelli
---
include/linux/mm.h |1 -
mm/truncate.c | 23 ---
2 files changed, 0 insertions(+), 24 deletions(-)
diff --git a/include/linux/mm.h b/include/linux/mm.h
index fa06804..95f70bb 100644
--- a/include/linux/mm.h
Removed vmtruncate
Signed-off-by: Marco Stornelli
---
Documentation/filesystems/Locking |6 --
Documentation/filesystems/porting |2 +-
Documentation/filesystems/vfs.txt | 11 ---
3 files changed, 1 insertions(+), 18 deletions(-)
diff --git a/Documentation/filesystems
possibility to correct fs errors due to corruption. It's a "young"
tool but we are working on it. You can clone the code from our repos:
git clone git://git.code.sf.net/p/pramfs/code pramfs-code
git clone git://git.code.sf.net/p/pramfs/Tools pramfs-Tools
Marco Stornelli (19):
pramfs
Added pramfs documentation.
Signed-off-by: Marco Stornelli
---
Documentation/filesystems/pramfs.txt | 177 ++
Documentation/filesystems/xip.txt|2 +
MAINTAINERS |9 ++
3 files changed, 188 insertions(+), 0 deletions
Add a flag to x86 arch to know if a set_memory_{rw|ro} is supported.
Signed-off-by: Marco Stornelli
---
arch/Kconfig |3 +++
arch/x86/Kconfig |1 +
2 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/arch/Kconfig b/arch/Kconfig
index 1feb169..589a043 100644
--- a/arch
Export xip_file_fault to modules.
Signed-off-by: Marco Stornelli
---
include/linux/fs.h |2 ++
mm/filemap_xip.c |3 ++-
2 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/include/linux/fs.h b/include/linux/fs.h
index 3b4cd82..1f61e07 100644
--- a/include/linux/fs.h
+++ b
Added include files.
Signed-off-by: Marco Stornelli
---
fs/pramfs/pram.h | 283 ++
include/linux/pram_fs.h | 48 +++
include/uapi/linux/Kbuild|1 +
include/uapi/linux/magic.h |1 +
include/uapi/linux/pram_fs.h | 192
Add inode operations.
Signed-off-by: Marco Stornelli
---
fs/pramfs/inode.c | 907 +
1 files changed, 907 insertions(+), 0 deletions(-)
create mode 100644 fs/pramfs/inode.c
diff --git a/fs/pramfs/inode.c b/fs/pramfs/inode.c
new file mode
Add super block operations.
Signed-off-by: Marco Stornelli
---
fs/pramfs/super.c | 994 +
1 files changed, 994 insertions(+), 0 deletions(-)
create mode 100644 fs/pramfs/super.c
diff --git a/fs/pramfs/super.c b/fs/pramfs/super.c
new file
Add file operations.
Signed-off-by: Marco Stornelli
---
fs/pramfs/file.c | 417 ++
1 files changed, 417 insertions(+), 0 deletions(-)
create mode 100644 fs/pramfs/file.c
diff --git a/fs/pramfs/file.c b/fs/pramfs/file.c
new file mode 100644
Add file operations for dirs.
Signed-off-by: Marco Stornelli
---
fs/pramfs/dir.c | 226 +++
1 files changed, 226 insertions(+), 0 deletions(-)
create mode 100644 fs/pramfs/dir.c
diff --git a/fs/pramfs/dir.c b/fs/pramfs/dir.c
new file mode
Add inode operations for dirs.
Signed-off-by: Marco Stornelli
---
fs/pramfs/namei.c | 391 +
1 files changed, 391 insertions(+), 0 deletions(-)
create mode 100644 fs/pramfs/namei.c
diff --git a/fs/pramfs/namei.c b/fs/pramfs/namei.c
new file
Add block allocation operations.
Signed-off-by: Marco Stornelli
---
fs/pramfs/balloc.c | 160
1 files changed, 160 insertions(+), 0 deletions(-)
create mode 100644 fs/pramfs/balloc.c
diff --git a/fs/pramfs/balloc.c b/fs/pramfs/balloc.c
new
Add ioctl operations.
Signed-off-by: Marco Stornelli
---
fs/pramfs/ioctl.c | 127 +
1 files changed, 127 insertions(+), 0 deletions(-)
create mode 100644 fs/pramfs/ioctl.c
diff --git a/fs/pramfs/ioctl.c b/fs/pramfs/ioctl.c
new file mode
Add xip operations.
Signed-off-by: Marco Stornelli
---
fs/pramfs/xip.c | 119 +++
fs/pramfs/xip.h | 33 +++
2 files changed, 152 insertions(+), 0 deletions(-)
create mode 100644 fs/pramfs/xip.c
create mode 100644 fs/pramfs
Add symlink operations.
Signed-off-by: Marco Stornelli
---
fs/pramfs/symlink.c | 76 +++
1 files changed, 76 insertions(+), 0 deletions(-)
create mode 100644 fs/pramfs/symlink.c
diff --git a/fs/pramfs/symlink.c b/fs/pramfs/symlink.c
new file
Add extended attributes block description tree.
Signed-off-by: Marco Stornelli
---
fs/pramfs/desctree.c | 181 ++
fs/pramfs/desctree.h | 44
2 files changed, 225 insertions(+), 0 deletions(-)
create mode 100644 fs/pramfs
Add extended attributes.
Signed-off-by: Marco Stornelli
---
fs/pramfs/xattr.c | 1118
fs/pramfs/xattr.h | 92
fs/pramfs/xattr_security.c | 80
fs/pramfs/xattr_trusted.c | 65 +++
fs/pramfs/xattr_user.c | 69
Add write protection.
Signed-off-by: Marco Stornelli
---
fs/pramfs/wprotect.c | 39 ++
fs/pramfs/wprotect.h | 144 ++
2 files changed, 183 insertions(+), 0 deletions(-)
create mode 100644 fs/pramfs/wprotect.c
create mode 100644 fs
Add acl operations.
Signed-off-by: Marco Stornelli
---
fs/pramfs/acl.c | 415 +++
fs/pramfs/acl.h | 85 +++
2 files changed, 500 insertions(+), 0 deletions(-)
create mode 100644 fs/pramfs/acl.c
create mode 100644 fs/pramfs/acl.h
Add test module.
Signed-off-by: Marco Stornelli
---
fs/pramfs/pramfs_test.c | 47 +++
1 files changed, 47 insertions(+), 0 deletions(-)
create mode 100644 fs/pramfs/pramfs_test.c
diff --git a/fs/pramfs/pramfs_test.c b/fs/pramfs/pramfs_test.c
new
Add Kconfig and makefile.
Signed-off-by: Marco Stornelli
---
fs/Kconfig |6 +++-
fs/Makefile|1 +
fs/pramfs/Kconfig | 72
fs/pramfs/Makefile | 14 ++
4 files changed, 91 insertions(+), 2 deletions
Il 07/09/2013 16:41, Al Viro ha scritto:
On Sat, Sep 07, 2013 at 10:29:15AM +0200, Marco Stornelli wrote:
+static int pram_readlink(struct dentry *dentry, char __user *buffer, int
buflen)
+{
+ struct inode *inode = dentry->d_inode;
+ struct super_block *sb = inode-&g
Il 07/09/2013 17:01, Al Viro ha scritto:
On Sat, Sep 07, 2013 at 10:22:36AM +0200, Marco Stornelli wrote:
+int pram_add_link(struct dentry *dentry, struct inode *inode)
+{
+ struct inode *dir = dentry->d_parent->d_inode;
+ struct pram_inode *pidir, *pi, *pitail = NULL;
+
Il 07/09/2013 17:08, Al Viro ha scritto:
On Sat, Sep 07, 2013 at 10:23:42AM +0200, Marco Stornelli wrote:
+static int pram_rmdir(struct inode *dir, struct dentry *dentry)
+{
+ struct inode *inode = dentry->d_inode;
+ struct pram_inode *pi;
+ int err = -ENOTEMPTY;
+
+
Il 07/09/2013 16:58, richard -rw- weinberger ha scritto:
On Sat, Sep 7, 2013 at 10:14 AM, Marco Stornelli
wrote:
Hi all,
this is an attempt to include pramfs in mainline. At the moment pramfs
has been included in LTSI kernel. Since last review the code is more
or less the same but, with a
Il 07/09/2013 10:14, Marco Stornelli ha scritto:
Hi all,
this is an attempt to include pramfs in mainline. At the moment pramfs
has been included in LTSI kernel. Since last review the code is more
or less the same but, with a really big thanks to Vladimir Davydov and
Parallels, the development
Il 08/09/2013 11:05, Vladimir Davydov ha scritto:
On 09/07/2013 08:22 PM, Marco Stornelli wrote:
Il 07/09/2013 16:58, richard -rw- weinberger ha scritto:
On Sat, Sep 7, 2013 at 10:14 AM, Marco Stornelli
wrote:
Hi all,
this is an attempt to include pramfs in mainline. At the moment pramfs
Il 09/09/2013 01:40, Dave Chinner ha scritto:
On Sat, Sep 07, 2013 at 10:14:04AM +0200, Marco Stornelli wrote:
Hi all,
this is an attempt to include pramfs in mainline. At the moment pramfs
has been included in LTSI kernel. Since last review the code is more
or less the same but, with a really
2012/9/6 Lukáš Czerner :
> On Fri, 31 Aug 2012, Marco Stornelli wrote:
>
>> Date: Fri, 31 Aug 2012 15:50:20 +0200
>> From: Marco Stornelli
>> To: Linux FS Devel , linux...@kvack.org
>> Cc: Linux Kernel
>> Subject: [PATCH 00/21] drop vmtruncate
>>
>&g
Il 08/09/2012 07:29, Anton Vorontsov ha scritto:
On Fri, Sep 07, 2012 at 11:29:36AM -0700, Bryan Freed wrote:
When called with a non-zero of_node, fill out a new ramoops_platform_data
with data from the specified Flattened Device Tree node.
Update ramoops documentation with the new FDT interface
Il 08/09/2012 10:06, Anton Vorontsov ha scritto:
On Sat, Sep 08, 2012 at 09:23:40AM +0200, Marco Stornelli wrote: [...]
+ pdata = devm_kzalloc(dev, sizeof(*pdata), GFP_KERNEL);
+ if (pdata == NULL)
I wonder why people prefer to not write !pdata, which is more natural
when reading the
nks.
Marco Stornelli (22):
ufs: drop vmtruncate
sysv: drop vmtruncate
reiserfs: drop vmtruncate
procfs: drop vmtruncate
omfs: drop vmtruncate
ocfs2: drop vmtruncate
adfs: drop vmtruncate
affs: drop vmtruncate
bfs: drop vmtruncate
hfs: drop vmtruncate
hpfs: drop vmtruncate
Removed vmtruncate.
Signed-off-by: Marco Stornelli
---
fs/ufs/inode.c |5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/fs/ufs/inode.c b/fs/ufs/inode.c
index eb6d0b7..2b43ce9 100644
--- a/fs/ufs/inode.c
+++ b/fs/ufs/inode.c
@@ -536,8 +536,9 @@ static int
Removed vmtruncate.
Signed-off-by: Marco Stornelli
---
fs/sysv/file.c |5 +++--
fs/sysv/itree.c |7 +--
2 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/fs/sysv/file.c b/fs/sysv/file.c
index 0a65939..9d4dc68 100644
--- a/fs/sysv/file.c
+++ b/fs/sysv/file.c
@@ -41,9
Removed vmtruncate.
Signed-off-by: Marco Stornelli
Reviewed-by: Jan Kara
---
fs/reiserfs/file.c |3 +--
fs/reiserfs/inode.c| 15 +++
fs/reiserfs/reiserfs.h |1 +
3 files changed, 13 insertions(+), 6 deletions(-)
diff --git a/fs/reiserfs/file.c b/fs/reiserfs
1 - 100 of 241 matches
Mail list logo