summaryrefslogtreecommitdiff
path: root/lockme.h
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2013-06-09 12:13:08 +0200
committerTobias Klauser <tklauser@distanz.ch>2013-06-09 12:13:08 +0200
commit5fc583888daa89cf6f3c460e1c6995aadfc04099 (patch)
tree596636c7bf1dacad8015c0803edb4f093c6a2061 /lockme.h
parent2f74f6e53de49b981edf3ca337c897dec297c1aa (diff)
ifpps: Don't calculate diff for stats values not used for relative values
These stats values are not reported anywhere in relative terms, so it makes no sense to calculate the difference for them. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'lockme.h')
0 files changed, 0 insertions, 0 deletions
tory becomes impossible: $ mount /dev/sdc /mnt $ rmdir /mnt/y/z $ ls -lh /mnt/y ls: cannot access /mnt/y/z: No such file or directory total 0 d????????? ? ? ? ? ? z $ rmdir /mnt/x/z rmdir: failed to remove ā€˜/mnt/x/zā€™: Stale file handle $ ls -lh /mnt/x ls: cannot access /mnt/x/z: Stale file handle total 0 -rw-r--r-- 2 root root 0 Apr 6 18:06 bar -rw-r--r-- 2 root root 0 Apr 6 18:06 foo d????????? ? ? ? ? ? z So make sure that on rename we set the last_unlink_trans value for our inode, even if it's a directory, to the value of the current transaction's ID and that if the new parent directory is logged that we fallback to a transaction commit. A test case for fstests is being submitted as well. Signed-off-by: Filipe Manana <fdmanana@suse.com>
Diffstat