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
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 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 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 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 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 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
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
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 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 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 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 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 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 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 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 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 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 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 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 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
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
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
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
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
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
Hi,
I'm doing a couple of test about O_TMPFILE on my fs. I can see that when
the file is closed the blocks allocated are not freed. It happens
because of i_mode, it isn't a regular file nor a directory nor a link. I
added S_IFREG in my implementation of tmpfile callback when I have to
call ne
Il 28/07/2013 12:05, Vladimir Davydov ha scritto:
On 07/27/2013 09:37 PM, Marco Stornelli wrote:
Il 27/07/2013 19:35, Vladimir Davydov ha scritto:
On 07/27/2013 07:41 PM, Marco Stornelli wrote:
Il 26/07/2013 14:29, Vladimir Davydov ha scritto:
Hi,
We want to propose a way to upgrade a
Il 27/07/2013 19:35, Vladimir Davydov ha scritto:
On 07/27/2013 07:41 PM, Marco Stornelli wrote:
Il 26/07/2013 14:29, Vladimir Davydov ha scritto:
Hi,
We want to propose a way to upgrade a kernel on a machine without
restarting all the user-space services. This is to be done with CRIU
project
Il 26/07/2013 14:29, Vladimir Davydov ha scritto:
Hi,
We want to propose a way to upgrade a kernel on a machine without
restarting all the user-space services. This is to be done with CRIU
project, but we need help from the kernel to preserve some data in
memory while doing kexec.
The key point
Hi,
I'm trying 3.11-rc1 but my vm hangs at boot. I can't see anything
because the system hangs after "booting the kernel". Attached my
.config. Extra patches: pramfs (with or without it's the same). My
environment: intel cpu, 32bit, vm with 64MB RAM, no initramfs, rootfs
over NFS on the host
Il 22/05/2013 18:57, p...@macq.eu ha scritto:
From: Philippe De Muyter
This is a file system driver for the file system called JFS on AIX, but
different from what's called jfs on linux. In AIX header files this
file system seems to be called "Version 3" or "Version 3p", hence its
name here. T
Replaced sb_start_write with sb_start_write_killable inside
mnt_want_write and mnt_want_write_file.
Signed-off-by: Marco Stornelli
Reviewed-by: Jan Kara
---
fs/namei.c |6 ++
fs/namespace.c |8 ++--
ipc/mqueue.c |6 +-
3 files changed, 17 insertions(+), 3
Replace sb_start_write with sb_start_write_killable where
possible.
Signed-off-by: Marco Stornelli
Reviewed-by: Jan Kara
---
fs/open.c |8 ++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/fs/open.c b/fs/open.c
index 8c74100..d621d76 100644
--- a/fs/open.c
+++ b/fs
Replace file_start_write with file_start_write_killable where
possible.
Signed-off-by: Marco Stornelli
Reviewed-by: Jan Kara
---
drivers/block/loop.c |4 +++-
fs/aio.c |7 +--
fs/coda/file.c |4 +++-
fs/read_write.c | 38
Added a new enum to decide if we want to sleep in uninterruptible or
killable state or we want simply to return immediately.
Signed-off-by: Marco Stornelli
Reviewed-by: Jan Kara
---
fs/super.c | 24 ++--
include/linux/fs.h | 19 +--
2 files
2013/4/29 Jan Kara :
> On Fri 26-04-13 10:53:27, Marco Stornelli wrote:
>> Replaced sb_start_write with sb_start_write_killable inside
>> mnt_want_write and mnt_want_write_file.
> The patch looks good. You can add:
>
Hi,
Il 26/04/2013 14:06, Matthew Wilcox ha scritto:
On Fri, Apr 26, 2013 at 10:50:52AM +0200, Marco Stornelli wrote:
Replace file_start_write with file_start_write_killable where
possible.
I feel like I'm missing context here. Possibly because you only cc'd me
on patch 2/4. In
Replaced sb_start_write with sb_start_write_killable inside
mnt_want_write and mnt_want_write_file.
Signed-off-by: Marco Stornelli
---
fs/namei.c |6 ++
fs/namespace.c |8 ++--
ipc/mqueue.c |6 +-
3 files changed, 17 insertions(+), 3 deletions(-)
diff --git a/fs
Replace sb_start_write with sb_start_write_killable where
possible.
Signed-off-by: Marco Stornelli
Reviewed-by: Jan Kara
---
fs/open.c |8 ++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/fs/open.c b/fs/open.c
index 8c74100..d621d76 100644
--- a/fs/open.c
+++ b/fs
Replace file_start_write with file_start_write_killable where
possible.
Signed-off-by: Marco Stornelli
Reviewed-by: Jan Kara
---
drivers/block/loop.c |4 +++-
fs/aio.c |7 +--
fs/coda/file.c |4 +++-
fs/read_write.c | 28 +---
fs
Added a new enum to decide if we want to sleep in uninterruptible or
killable state or we want simply to return immediately.
Signed-off-by: Marco Stornelli
Reviewed-by: Jan Kara
---
fs/super.c | 24 ++--
include/linux/fs.h | 19 +--
2 files
the moment the path not covered is the page_mkwrite, however
it could be covered with a future patch. The work made until now is
sufficient to give the user the possibility to do a "kill -9" in several
cases.
Marco Stornelli (4):
fsfreeze: wait in killable state in __sb_start_write
Resend due to mail client problem.
Marco
2013/4/17 Marco Stornelli
>
> Hi,
>
>
> 2013/4/15 Jan Kara
>>
>> On Sat 13-04-13 12:35:54, Marco Stornelli wrote:
>> > Added a new enum to decide if we want to sleep in uninterruptible or
>> > killable
Hi,
Il 14/04/2013 02:18, KOSAKI Motohiro ha scritto:
(4/13/13 5:14 AM), Marco Stornelli wrote:
Hi,
I was seeing the code of __mm_populate (in -next) and I've got a doubt
about the return value. The function __mlock_posix_error_return should
return a proper error for mlock, convertin
Replace sb_start_write with sb_start_write_killable where
possible.
Signed-off-by: Marco Stornelli
---
fs/open.c |8 ++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/fs/open.c b/fs/open.c
index 8c74100..d621d76 100644
--- a/fs/open.c
+++ b/fs/open.c
@@ -182,7 +182,9
Replace file_start_write with file_start_write_killable where
possible.
Signed-off-by: Marco Stornelli
---
drivers/block/loop.c |4 +++-
fs/aio.c |7 +--
fs/coda/file.c |4 +++-
fs/read_write.c | 28 +---
fs/splice.c
Added a new enum to decide if we want to sleep in uninterruptible or
killable state or we want simply to return immediately.
Signed-off-by: Marco Stornelli
---
fs/super.c | 24 ++--
include/linux/fs.h | 19 +--
2 files changed, 31 insertions
ments are welcome.
Regards.
Marco Stornelli (3):
fsfreeze: wait in killable state in __sb_start_write
fsfreeze: added new file_start_write_killable
fsfreeze: use sb_start_write_killable instead of sb_start_write
drivers/block/loop.c |4 +++-
fs/aio.c |7 +--
fs
Replace sb_start_write with sb_start_write_killable where it's
possible to manage a SIGKILL.
Signed-of-by: Marco Stornelli
---
fs/btrfs/file.c |4 +++-
fs/cifs/file.c|4 +++-
fs/fuse/file.c|4 +++-
fs/ntfs/file.c|4 +++-
fs/ocfs2/file.c |4 +++-
fs/o
d.
Signed-off-by: Marco Stornelli
---
fs/super.c | 47 ---
include/linux/fs.h | 23 ++-
2 files changed, 58 insertions(+), 12 deletions(-)
diff --git a/fs/super.c b/fs/super.c
index 7465d43..cb0149b 100644
--- a/fs/sup
d.
Signed-off-by: Marco Stornelli
---
fs/super.c | 47 ---
include/linux/fs.h | 23 ++-
2 files changed, 58 insertions(+), 12 deletions(-)
diff --git a/fs/super.c b/fs/super.c
index 7465d43..cb0149b 100644
--- a/fs/sup
Il 06/04/2013 15:20, Matthew Wilcox ha scritto:
On Sat, Apr 06, 2013 at 12:05:52PM +0200, Marco Stornelli wrote:
In every place where sb_start_pagefault was called now we must manage
the error code and return VM_FAULT_RETRY.
Erm ... in patch 1/4:
static inline void sb_start_pagefault
Il 06/04/2013 15:17, Matthew Wilcox ha scritto:
On Sat, Apr 06, 2013 at 12:04:52PM +0200, Marco Stornelli wrote:
In every place where sb_start_write was called now we must manage
the error code and return -EINTR.
If we must manage the error code, then these functions should be marked
alled inside a loop until all the
pages requested are gotten or an error code is returned.
Signed-off-by: Marco Stornelli
---
mm/memory.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/mm/memory.c b/mm/memory.c
index 494526a..cca14ed 100644
--- a/mm/memory.c
+++ b/mm/mem
In every place where sb_start_pagefault was called now we must manage
the error code and return VM_FAULT_RETRY.
Signed-off-by: Marco Stornelli
---
fs/btrfs/inode.c |4 +++-
fs/buffer.c|4 +++-
fs/ext4/inode.c|4 +++-
fs/f2fs/file.c |4 +++-
fs/gfs2/file.c
In every place where sb_start_write was called now we must manage
the error code and return -EINTR.
Signed-off-by: Marco Stornelli
---
fs/btrfs/file.c|9 +++--
fs/cifs/file.c |4 +++-
fs/ext4/mmp.c |3 ++-
fs/ext4/super.c|4 +++-
fs/fuse/file.c |4
Added a new internal function __sb_start_write_wait. It must be called
when we want wait for freeze events. We can wait in killable or
uninterruptible state. The old __sb_start_write now it's used only
when we don't want to wait.
Signed-off-by: Marco Stornelli
---
fs/super.c
fsfreeze point of view,
sb_start_intwrite is not changed;
2) sb_start_write and sb_start_pagefault now return a proper error code
if the process receive SIGKILL and all the functions must manage this
error and return EINTR or VM_FAULT_RETRY.
Marco Stornelli (4):
fsfreeze: add new internal
2013/3/27 Jan Kara :
> On Wed 27-03-13 12:39:10, Marco Stornelli wrote:
>> 2013/3/26 Jan Kara :
>> > On Sun 24-03-13 10:10:59, Marco Stornelli wrote:
>> >> When a fs is frozen, a process can hang because we wait in
>> >> uniterruptible state. We
2013/3/26 Jan Kara :
> On Sun 24-03-13 10:10:59, Marco Stornelli wrote:
>> When a fs is frozen, a process can hang because we wait in
>> uniterruptible state. We give the user the possibility to kill the process.
> Yes, but it needs slightly more work as you probably kn
When a fs is frozen, a process can hang because we wait in
uniterruptible state. We give the user the possibility to kill the process.
Not-signed-off-by: Marco Stornelli
---
--- fs/super.c.orig 2013-03-24 09:56:33.0 +0100
+++ fs/super.c 2013-03-24 09:58:41.0 +0100
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
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 4af4f0b..6c93b79 100644
--- a/include/linux/mm.h
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
Reviewed-by: Anton Altaparmakov
---
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
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/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/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/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/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/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/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/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/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/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/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/ocfs2/file.c | 18 --
1 files changed, 0 insertions(+), 18 deletions(-)
diff --git a/fs/ocfs2/file.c b/fs/ocfs2/file.c
index dda0898..9366d32 100644
--- a/fs/ocfs2/file.c
+++ b/fs/ocfs2/file.c
@@ -1218,24 +1218,6 @@ int
Removed vmtruncate
Signed-off-by: Marco Stornelli
Acked-by: Bob Copeland
---
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
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 aa63d25..c88e14a 100644
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/file.c
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/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
Al
v3: reworked after Al and Christoph comments
v2: add documentation cleaning
v1: first draft
Marco Stornelli (21):
ufs: drop vmtruncate
sysv: drop vmtruncate
reiserfs: drop vmtruncate
procfs: drop vmtruncate
omfs: drop vmtruncate
ocfs2: drop vmtruncate
adfs: drop vmtruncate
affs:
Il 24/11/2012 10:12, Richard Weinberger ha scritto:
Am Sat, 24 Nov 2012 10:02:32 +0100
schrieb Marco Stornelli :
Il 18/11/2012 09:59, Marco Stornelli ha scritto:
Il 20/10/2012 12:02, Marco Stornelli ha scritto:
With the commit 3be2be0a32c18b0fd6d623cda63174a332ca0de1 we removed
vmtruncate
Il 18/11/2012 09:59, Marco Stornelli ha scritto:
Il 20/10/2012 12:02, Marco Stornelli ha scritto:
With the commit 3be2be0a32c18b0fd6d623cda63174a332ca0de1 we removed
vmtruncate,
but actaully there is no need to call inode_newsize_ok() because the
checks are
already done in inode_change_ok() at
Il 20/10/2012 12:02, Marco Stornelli ha scritto:
With the commit 3be2be0a32c18b0fd6d623cda63174a332ca0de1 we removed vmtruncate,
but actaully there is no need to call inode_newsize_ok() because the checks are
already done in inode_change_ok() at the begin of the function.
Signed-off-by: Marco
2012/11/16 Jaegeuk Hanse :
> On 11/03/2012 05:32 PM, Marco Stornelli wrote:
>>
>> Removed vmtruncate
>
>
> Hi Marco,
>
> Could you explain me why vmtruncate need remove? What's the problem and how
> to substitute it?
>
> Regards,
> Jaegeuk
>
vmt
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
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
---
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
---
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/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/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/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/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/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/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
1 - 100 of 241 matches
Mail list logo