History log of /openbmc/linux/fs/ext2/dir.c (Results 476 – 500 of 621)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# d905163c 18-Jun-2009 James Morris <jmorris@namei.org>

Merge branch 'master' into next


# 39fe7557 17-Jun-2009 Jan Kara <jack@suse.cz>

ext2: Do not update mtime of a moved directory

One of our users is complaining that his backup tool is upset on ext2
(while it's happy on ext3, xfs, ...) because of the mtime change.

The problem is

ext2: Do not update mtime of a moved directory

One of our users is complaining that his backup tool is upset on ext2
(while it's happy on ext3, xfs, ...) because of the mtime change.

The problem is:

mkdir foo
mkdir bar
mkdir foo/a

Now under ext2:
mv foo/a foo/b

changes mtime of 'foo/a' (foo/b after the move). That does not really
make sense and it does not happen under any other filesystem I've seen.

More complicated is:
mv foo/a bar/a

This changes mtime of foo/a (bar/a after the move) and it makes some
sense since we had to update parent directory pointer of foo/a. But
again, no other filesystem does this. So after some thoughts I'd vote
for consistency and change ext2 to behave the same as other filesystems.

Do not update mtime of a moved directory. Specs don't say anything
about it (neither that it should, nor that it should not be updated) and
other common filesystems (ext3, ext4, xfs, reiserfs, fat, ...) don't do
it. So let's become more consistent.

Spotted by ronny.pretzsch@dfs.de, initial fix by Jörn Engel.

Reported-by: <ronny.pretzsch@dfs.de>
Cc: <hare@suse.de>
Cc: Jörn Engel <joern@logfs.org>
Signed-off-by: Jan Kara <jack@suse.cz>
Cc: <linux-ext4@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

show more ...


# cc4949e1 17-Jun-2009 Ingo Molnar <mingo@elte.hu>

Merge branch 'linus' into x86/urgent

Merge reason: pull in latest to fix a bug in it.

Signed-off-by: Ingo Molnar <mingo@elte.hu>


# 9cbc1cb8 15-Jun-2009 David S. Miller <davem@davemloft.net>

Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6

Conflicts:
Documentation/feature-removal-schedule.txt
drivers/scsi/fcoe/fcoe.c
net/core/drop_monitor.c
net

Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6

Conflicts:
Documentation/feature-removal-schedule.txt
drivers/scsi/fcoe/fcoe.c
net/core/drop_monitor.c
net/core/net-traces.c

show more ...


# bff7b55b 14-Jun-2009 Paul Mundt <lethal@linux-sh.org>

Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6


# 82681a31 12-Jun-2009 James Bottomley <James.Bottomley@HansenPartnership.com>

[SCSI] Merge branch 'linus'

Conflicts:
drivers/message/fusion/mptsas.c

fixed up conflict between req->data_len accessors and mptsas driver updates.

Signed-off-by: James Bottomley <James.Bottomley

[SCSI] Merge branch 'linus'

Conflicts:
drivers/message/fusion/mptsas.c

fixed up conflict between req->data_len accessors and mptsas driver updates.

Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>

show more ...


# 5b02ee3d 12-Jun-2009 Arnd Bergmann <arnd@arndb.de>

asm-generic: merge branch 'master' of torvalds/linux-2.6

Fixes a merge conflict against the x86 tree caused by a fix to
atomic.h which I renamed to atomic_long.h.

Signed-off-by: Arnd Bergmann <arnd

asm-generic: merge branch 'master' of torvalds/linux-2.6

Fixes a merge conflict against the x86 tree caused by a fix to
atomic.h which I renamed to atomic_long.h.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>

show more ...


# bc47ab02 12-Jun-2009 Benjamin Herrenschmidt <benh@kernel.crashing.org>

Merge commit 'origin/master' into next

Manual merge of:
arch/powerpc/kernel/asm-offsets.c


# 4b4f1d01 11-Jun-2009 Linus Torvalds <torvalds@linux-foundation.org>

Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs-2.6

* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs-2.6: (87 commits)
nilfs2: get rid of

Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs-2.6

* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs-2.6: (87 commits)
nilfs2: get rid of bd_mount_sem use from nilfs
nilfs2: correct exclusion control in nilfs_remount function
nilfs2: simplify remaining sget() use
nilfs2: get rid of sget use for checking if current mount is present
nilfs2: get rid of sget use for acquiring nilfs object
nilfs2: remove meaningless EBUSY case from nilfs_get_sb function
remove the call to ->write_super in __sync_filesystem
nilfs2: call nilfs2_write_super from nilfs2_sync_fs
jffs2: call jffs2_write_super from jffs2_sync_fs
ufs: add ->sync_fs
sysv: add ->sync_fs
hfsplus: add ->sync_fs
hfs: add ->sync_fs
fat: add ->sync_fs
ext2: add ->sync_fs
exofs: add ->sync_fs
bfs: add ->sync_fs
affs: add ->sync_fs
sanitize ->fsync() for affs
repair bfs_write_inode(), switch bfs to simple_fsync()
...

show more ...


Revision tags: v2.6.30
# e1740a46 07-Jun-2009 Al Viro <viro@zeniv.linux.org.uk>

switch ext2 to simple_fsync()

kill ext2_sync_file() (along with ext2/fsync.c), get rid of
ext2_update_inode() - it's an alias of ext2_write_inode().

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>


Revision tags: v2.6.30-rc8, v2.6.30-rc7, v2.6.30-rc6, v2.6.30-rc5
# 3a20ac2c 04-May-2009 Takashi Iwai <tiwai@suse.de>

Merge branch 'fix/pcm-jiffies-check' into fix/asoc


Revision tags: v2.6.30-rc4, v2.6.30-rc3, v2.6.30-rc2
# 6967963d 14-Apr-2009 Mark Brown <broonie@opensource.wolfsonmicro.com>

Merge branch 'for-2.6.30' into for-2.6.31


Revision tags: v2.6.30-rc1
# 18ffa418 26-Mar-2009 Ingo Molnar <mingo@elte.hu>

Merge commit 'v2.6.29' into x86/setup-lzma


Revision tags: v2.6.29, v2.6.29-rc8
# d95c3578 11-Mar-2009 Ingo Molnar <mingo@elte.hu>

Merge branch 'x86/core' into cpus4096


# efdcd41b 09-Mar-2009 Takashi Iwai <tiwai@suse.de>

Merge branch 'topic/vmaster-update' into topic/docbook-fix


# d15c22e7 08-Mar-2009 Dmitry Torokhov <dmitry.torokhov@gmail.com>

Merge commit 'v2.6.29-rc7' into next


Revision tags: v2.6.29-rc7
# 66a101dd 23-Feb-2009 Takashi Iwai <tiwai@suse.de>

Merge branch 'topic/hwdep-cleanup' into topic/hdsp


Revision tags: v2.6.29-rc6
# 2702e0a4 22-Feb-2009 Ingo Molnar <mingo@elte.hu>

Merge branch 'linus' into timers/hpet


Revision tags: v2.6.29-rc5
# 871cafcc 12-Feb-2009 Ingo Molnar <mingo@elte.hu>

Merge branch 'linus' into core/softlockup


# 89139374 11-Feb-2009 Ingo Molnar <mingo@elte.hu>

Merge commit 'v2.6.29-rc4' into x86/cleanups


# 2a074f4a 09-Feb-2009 Takashi Iwai <tiwai@suse.de>

Merge branch 'topic/quirk-cleanup' into topic/hda


Revision tags: v2.6.29-rc4
# 140573d3 08-Feb-2009 Ingo Molnar <mingo@elte.hu>

Merge branches 'sched/rt' and 'sched/urgent' into sched/core


# 673f8205 07-Feb-2009 Ingo Molnar <mingo@elte.hu>

Merge branch 'linus' into core/locking

Conflicts:
fs/btrfs/locking.c


# cb5629b1 05-Feb-2009 James Morris <jmorris@namei.org>

Merge branch 'master' into next

Conflicts:
fs/namei.c

Manually merged per:

diff --cc fs/namei.c
index 734f2b5,bbc15c2..0000000
--- a/fs/namei.c
+++ b/fs/namei.c
@@@ -860,9 -848,8 +849,10 @@@ stat

Merge branch 'master' into next

Conflicts:
fs/namei.c

Manually merged per:

diff --cc fs/namei.c
index 734f2b5,bbc15c2..0000000
--- a/fs/namei.c
+++ b/fs/namei.c
@@@ -860,9 -848,8 +849,10 @@@ static int __link_path_walk(const char
nd->flags |= LOOKUP_CONTINUE;
err = exec_permission_lite(inode);
if (err == -EAGAIN)
- err = vfs_permission(nd, MAY_EXEC);
+ err = inode_permission(nd->path.dentry->d_inode,
+ MAY_EXEC);
+ if (!err)
+ err = ima_path_check(&nd->path, MAY_EXEC);
if (err)
break;

@@@ -1525,14 -1506,9 +1509,14 @@@ int may_open(struct path *path, int acc
flag &= ~O_TRUNC;
}

- error = vfs_permission(nd, acc_mode);
+ error = inode_permission(inode, acc_mode);
if (error)
return error;
+
- error = ima_path_check(&nd->path,
++ error = ima_path_check(path,
+ acc_mode & (MAY_READ | MAY_WRITE | MAY_EXEC));
+ if (error)
+ return error;
/*
* An append-only file must be opened in append mode for writing.
*/

Signed-off-by: James Morris <jmorris@namei.org>

show more ...


# bb960a1e 04-Feb-2009 Ingo Molnar <mingo@elte.hu>

Merge branch 'core/xen' into x86/urgent


1...<<11121314151617181920>>...25