diff options
author | Christoph Hellwig <[email protected]> | 2014-09-07 08:36:40 -0700 |
---|---|---|
committer | Trond Myklebust <[email protected]> | 2014-09-10 12:47:04 -0700 |
commit | 08a899d5d9532efb7dea99aad44dc9af39627a92 (patch) | |
tree | 8dd3f17b0b9fecbe9581084b33e826c05ada405a /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 20d655d6197d02e98574208839da11684dc2ad1f (diff) |
nfs: setattr can only change regular file sizes
The VFS never calls setattr with ATTR_SIZE on anything but regular
files. Remove the if check and turn it into an assert similar to
what some other file systems do.
Signed-off-by: Christoph Hellwig <[email protected]>
Signed-off-by: Trond Myklebust <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions