diff options
| author | 2016-04-04 16:26:36 -0400 | |
|---|---|---|
| committer | 2016-04-08 14:10:31 -0400 | |
| commit | f83140c1467e22ba9ee9389bc4e6c3e117f2296e (patch) | |
| tree | 1c0b480efa801c3395f4e6f77a37926705933c3b /scripts/mod/empty.c | |
| parent | Orangefs: fix ifnullfree.cocci warnings (diff) | |
| download | linux-dev-f83140c1467e22ba9ee9389bc4e6c3e117f2296e.tar.xz linux-dev-f83140c1467e22ba9ee9389bc4e6c3e117f2296e.zip | |
orangefs: clean up truncate ctime and mtime setting
The ctime and mtime are always updated on a successful ftruncate and
only updated on a successful truncate where the size changed.
We handle the ``if the size changed'' bit.
This matches FUSE's behavior.
Signed-off-by: Martin Brandenburg <martin@omnibond.com>
Signed-off-by: Mike Marshall <hubcap@omnibond.com>
Diffstat (limited to 'scripts/mod/empty.c')
0 files changed, 0 insertions, 0 deletions
