|
@@ -1907,9 +1907,8 @@ public class FSNamesystem implements Namesystem, FSClusterStats,
|
|
|
checkFsObjectLimit();
|
|
|
|
|
|
// increment global generation stamp
|
|
|
- long genstamp = nextGenerationStamp();
|
|
|
INodeFileUnderConstruction newNode = dir.addFile(src, permissions,
|
|
|
- replication, blockSize, holder, clientMachine, clientNode, genstamp);
|
|
|
+ replication, blockSize, holder, clientMachine, clientNode);
|
|
|
if (newNode == null) {
|
|
|
throw new IOException("DIR* NameSystem.startFile: " +
|
|
|
"Unable to add file to namespace.");
|